/* ============================================================
   ZeroW offer landing pages — shared CSS
   Used by:
     /10-days-for-10/index.html
     /2-weeks-free/index.html
   Brand color (SE Melbourne grey): #60656b, bright #a3abb6
   ============================================================ */

/* Acumin fallback to system fonts */
@font-face {
  font-family: 'Acumin';
  src: local('Acumin Pro'), local('Source Sans Pro'), local('Arial');
  font-weight: normal;
  font-style: normal;
}

.offer-page {
  background: #1D1C1B;
  min-height: 100vh;
}

.light-mode .offer-page {
  background: #ffffff;
}

/* Subtle hero backdrop so the green heading panel pops on dark */
.offer-page__hero-bg {
  position: relative;
  background: linear-gradient(180deg, #1D1C1B 0%, #232220 100%);
}

.light-mode .offer-page__hero-bg {
  background: linear-gradient(180deg, #f4f5f6 0%, #e9eaec 100%);
}

.hero-section {
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}

/* === Headings panel === */
.hero-headings {
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInUp 1s ease-out 0.1s forwards;
  position: relative;
  z-index: 20;
  background: rgba(96, 101, 107, 0.85);
  padding: 48px 32px;
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.attention-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #60656b;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  background: white;
  padding: 12px 24px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-heading-new {
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
  font-family: 'Acumin', 'Inter Tight', 'Source Sans Pro', sans-serif;
}

.sub-heading-new {
  font-size: 1.125rem;
  color: white;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 500;
}

.sub-heading-new strong {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* === 2-col grid (form | benefits) === */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}

.hero-form {
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 1s ease-out 0.3s forwards;
}

.hero-content {
  opacity: 0;
  transform: translateX(50px);
  animation: fadeInRight 1s ease-out 0.5s forwards;
}

/* === Cards === */
.form-container,
.content-box {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  position: relative;
}

.content-box {
  overflow: hidden;
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #60656b;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  font-family: 'Acumin', 'Inter Tight', 'Source Sans Pro', sans-serif;
  text-transform: none;
  line-height: 1.15;
}

.form-header p {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0;
}

.form-footnote {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 16px;
  text-align: center;
  font-style: italic;
}

/* === GHL iframe wrapper === */
.ghl-form-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  margin-top: 16px;
}

.ghl-form-wrapper iframe {
  display: block;
  width: 100%;
  min-width: 0;
  border: none;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.form-helper-icon {
  width: 80px;
  height: 60px;
  display: block;
  margin: 0 auto 8px;
  object-fit: contain;
  filter: hue-rotate(140deg) saturate(1.2) brightness(0.9);
}

/* === Right column (benefits) === */
.logo-section {
  text-align: center;
  margin-bottom: 32px;
}

.logo-section img {
  height: 80px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  letter-spacing: -0.025em;
  font-family: 'Acumin', 'Inter Tight', 'Source Sans Pro', sans-serif;
}

.offer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
  text-align: left;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.6s; }
.benefit-item:nth-child(2) { animation-delay: 0.8s; }
.benefit-item:nth-child(3) { animation-delay: 1.0s; }
.benefit-item:nth-child(4) { animation-delay: 1.2s; }
.benefit-item:nth-child(5) { animation-delay: 1.4s; }

.benefit-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #60656b, #4a4e53);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  margin-top: 2px;
  box-shadow: 0 4px 8px rgba(96, 101, 107, 0.3);
}

.benefit-icon svg {
  width: 14px;
  height: 14px;
  color: white;
}

.benefit-text {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.6;
  flex: 1;
}

.benefit-text strong {
  font-weight: 700;
  color: #1f2937;
}

/* === Reviews wrapper (above the existing .reviews section) === */
.offer-reviews-header {
  text-align: center;
  margin: 60px auto 24px;
  max-width: 1280px;
  padding: 0 40px;
}

.offer-reviews-header__copy {
  text-align: center;
}

.offer-reviews-header__copy h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary, #ffffff);
  line-height: 1.1;
}

.light-mode .offer-reviews-header__copy h3 {
  color: #1C1C1E;
}

.offer-reviews-header__copy p {
  font-size: 1rem;
  margin: 0;
  color: var(--text-light, #c8c8c8);
}

.light-mode .offer-reviews-header__copy p {
  color: #4a4a4a;
}

/* === Animations === */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === Mobile === */
@media (max-width: 1024px) {
  .hero-container { padding: 0 24px; }
  .hero-grid { gap: 32px; }
  .form-container,
  .content-box { padding: 40px 32px; }
}

@media (max-width: 768px) {
  .hero-section { padding: 40px 0; min-height: auto; }
  .hero-container { padding: 0 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }

  /* Disable translateX entrance animations on mobile (caused horizontal overflow) */
  .hero-form, .hero-content { transform: none; animation: fadeInUp 0.8s ease-out 0.2s forwards; opacity: 0; }

  .form-container,
  .content-box { padding: 32px 24px; }

  .main-heading-new { font-size: 2.25rem; }
  .form-header h2 { font-size: 1.75rem; }
  .offer-title { font-size: 1.25rem; }
  .sub-heading-new { font-size: 1rem; }
  .benefit-text { font-size: 1rem; }
  .attention-text { font-size: 0.75rem; padding: 8px 14px; }

  .offer-reviews-header { padding: 0 16px; }
  .offer-reviews-header__copy h3 { font-size: 1.75rem; }
}

@media (max-width: 390px) {
  .form-container, .content-box { padding: 24px 18px; }
  .form-header h2 { font-size: 1.5rem; }
  .hero-headings { padding: 32px 20px; }
}

/* ============================================================
   Contact-section styles — ported from index.html's inline <style>
   so the contact form on the landing pages renders properly.
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form-card {
  background: var(--bg-card, #232220);
  border: 1px solid var(--border-medium, rgba(255,255,255,0.08));
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 18px var(--shadow-card, rgba(0,0,0,0.25));
}
.contact-form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-body, #9A9A9A);
  margin-bottom: 6px;
}
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-secondary, #1D1C1B);
  border: 1px solid var(--border-medium, rgba(255,255,255,0.08));
  border-radius: 8px;
  color: var(--text-primary, #ffffff);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: var(--text-muted, #7A7A7A);
}
.contact-form-card select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a3abb6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.light-mode .contact-form-card select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2360656b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.contact-form-card select option { background: #1D1C1B; color: #fff; padding: 10px; }
.contact-form-card select option:disabled { color: #7A7A7A; }
.light-mode .contact-form-card select option { background: #fff; color: #1C1C1E; }
.light-mode .contact-form-card select option:disabled { color: #9A9A9A; }

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--accent-bright, #a3abb6);
  background: var(--accent-subtle, rgba(149,191,169,0.12));
}

.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-status {
  margin: 12px 0 4px;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}
.contact-form-status.is-success {
  display: block;
  padding: 12px 14px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: 8px;
  color: #16a34a;
}
.contact-form-status.is-error {
  display: block;
  padding: 12px 14px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: 8px;
  color: #dc2626;
}
.light-mode .contact-form-status.is-success { color: #15803d; }
.light-mode .contact-form-status.is-error { color: #b91c1c; }

#contactFormSubmit:disabled { opacity: 0.6; cursor: wait; }

.contact-info {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-info__line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--text-light, #c8c8c8);
  font-size: 1.05rem;
}
.contact-info__line svg { flex-shrink: 0; margin-top: 3px; }

.contact-map {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-medium, rgba(255,255,255,0.08));
  flex: 1;
  display: flex;
  min-height: 280px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  flex: 1;
}

.light-mode #contact { background: rgba(133,175,153,0.06) !important; }
