/*
Theme Name: PepsLink Coming Soon
Theme URI: https://pepslink.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Custom PepsLink coming soon landing theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: pepslink-coming-soon
*/

:root {
  --bg: #f4f5f7;
  --text: #05054f;
  --muted: #39455d;
  --pink-1: #eb2f83;
  --pink-2: #ff6fa8;
  --orange-1: #ff9800;
  --orange-2: #ffc83d;
  --green-1: #16a34a;
  --green-2: #7bd14f;
  --blue-1: #2377e6;
  --blue-2: #57abff;
  --card-shadow: 0 20px 50px rgba(9, 20, 63, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { margin-top: 0 !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.admin-bar .site-shell { min-height: calc(100vh - 32px); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.site-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.shape {
  position: absolute;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.45;
}
.shape-top {
  top: -120px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 193, 7, 0.95), transparent 32%),
    radial-gradient(circle at 55% 10%, rgba(235, 47, 131, 0.95), transparent 30%),
    radial-gradient(circle at 35% 52%, rgba(35, 119, 230, 0.92), transparent 28%),
    radial-gradient(circle at 60% 60%, rgba(22, 163, 74, 0.9), transparent 26%),
    radial-gradient(circle at 78% 30%, rgba(255, 152, 0, 0.95), transparent 34%);
}
.shape-bottom {
  left: -220px;
  bottom: -220px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 50%, rgba(35, 119, 230, 0.95), transparent 32%),
    radial-gradient(circle at 48% 70%, rgba(22, 163, 74, 0.9), transparent 28%),
    radial-gradient(circle at 68% 32%, rgba(87, 171, 255, 0.8), transparent 26%),
    radial-gradient(circle at 74% 72%, rgba(255,255,255,0.9), transparent 30%);
}

.panel {
  position: relative;
  width: min(1120px, 100%);
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: var(--card-shadow);
  border-radius: 36px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 56px 48px 34px;
}

.brand {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.brand img {
  width: min(680px, 92%);
}

.title {
  margin: 0;
  text-align: center;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--text);
}
.subtitle {
  margin: 18px auto 0;
  text-align: center;
  font-size: clamp(1.08rem, 2vw, 1.7rem);
  line-height: 1.5;
  max-width: 760px;
  color: rgba(5, 5, 79, 0.82);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 22px;
  max-width: 820px;
  margin: 42px auto 22px;
}
.count-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(14, 20, 66, 0.16);
}
.count-card strong {
  display: block;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.count-card span {
  display: block;
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.count-card.pink { background: linear-gradient(135deg, var(--pink-1), var(--pink-2)); }
.count-card.orange { background: linear-gradient(135deg, var(--orange-1), var(--orange-2)); }
.count-card.green { background: linear-gradient(135deg, var(--green-1), var(--green-2)); }
.count-card.blue { background: linear-gradient(135deg, var(--blue-1), var(--blue-2)); }

.launch-line {
  margin: 0;
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  color: rgba(5, 5, 79, 0.88);
  font-weight: 600;
}

.subscribe-form {
  max-width: 900px;
  margin: 28px auto 0;
  display: flex;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
}
.subscribe-form input[type="email"] {
  flex: 1;
  min-height: 72px;
  padding: 0 26px;
  border-radius: 22px;
  border: 1px solid rgba(5, 5, 79, 0.12);
  background: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(12,20,63,0.06);
}
.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: rgba(35, 119, 230, 0.55);
  box-shadow: 0 0 0 4px rgba(35, 119, 230, 0.12);
}
.subscribe-form button {
  min-width: 220px;
  min-height: 72px;
  border: 0;
  border-radius: 22px;
  padding: 0 30px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pink-1), #ba2bff 62%, #3cd1be);
  box-shadow: 0 18px 40px rgba(186, 43, 255, 0.28);
}
.subscribe-form button:hover { transform: translateY(-1px); }

.notice {
  margin: 16px auto 0;
  max-width: 780px;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(5, 5, 79, 0.66);
}
.notice.success { color: #0b7a39; font-weight: 700; }
.notice.error { color: #b91c1c; font-weight: 700; }

.socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(5, 5, 79, 0.08);
  box-shadow: 0 8px 24px rgba(12,20,63,0.06);
  font-weight: 700;
  color: rgba(5,5,79,0.88);
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}
.facebook { background: linear-gradient(135deg, #2377e6, #57abff); }
.instagram { background: linear-gradient(135deg, #eb2f83, #ff9800); }

.footer-rights {
  margin-top: 34px;
  text-align: center;
  color: rgba(5, 5, 79, 0.74);
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .panel { padding: 40px 18px 28px; border-radius: 28px; }
  .countdown { grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 16px; }
  .count-card { min-height: 140px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; min-width: 0; }
  .brand img { width: min(560px, 100%); }
}

@media (max-width: 480px) {
  .site-shell { padding: 16px; }
  .countdown { grid-template-columns: repeat(2, minmax(110px, 1fr)); }
  .count-card { min-height: 120px; border-radius: 18px; }
  .subscribe-form input[type="email"],
  .subscribe-form button { min-height: 60px; border-radius: 18px; }
  .social-link { width: 100%; justify-content: center; }
}
