/* ================================================
   Beads of Brilliance — Home Page Styles
   Extracted from index.html inline <style> block
   ================================================ */

/* ── Skip to content (accessibility) ── */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-to-content:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: #1a237e;
  color: #ffd700;
  font-weight: 700;
  font-size: 1rem;
  z-index: 99999;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  outline: 3px solid #ffd700;
}

/* ── Hero section ── */
.hero-section {
  background: linear-gradient(135deg, #1a237e 0%, #4a90e2 55%, #7c4dff 100%);
  padding: 4rem 2rem;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1 1 340px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: #ffd700;
  color: #1a1a2e;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}
.hero-title-highlight {
  color: #ffd700;
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 0.75rem;
}
.hero-location {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  text-align: center;
  min-width: 80px;
  backdrop-filter: blur(4px);
}
.hero-stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd700;
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}
.hero-image {
  flex: 1 1 280px;
  text-align: center;
}
.hero-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s;
}
.hero-img:hover {
  transform: translateY(-6px) scale(1.01);
}

/* ── Sticky Note Container ── */
.sticky-note-container {
  flex: 1 1 380px;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Main Sticky Note ── */
.sticky-note {
  position: relative;
  background: linear-gradient(135deg, #fef9c3 0%, #fde047 100%);
  width: 100%;
  max-width: 380px;
  padding: 2.5rem 2rem 2rem;
  border-radius: 4px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: rotate(-2deg);
  transition: all 0.3s ease;
  font-family: "Segoe Print", "Comic Sans MS", cursive, sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sticky-note:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.2),
    0 2px 5px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ── Pin at top ── */
.sticky-note-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  animation: pin-wiggle 3s ease-in-out infinite;
}

@keyframes pin-wiggle {
  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
  25% {
    transform: translateX(-50%) rotate(-5deg);
  }
  75% {
    transform: translateX(-50%) rotate(5deg);
  }
}

/* ── Sticky Note Content ── */
.sticky-note-content {
  position: relative;
  z-index: 2;
}

.sticky-note-emoji {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0.5rem;
  animation: bounce-emoji 2s ease-in-out infinite;
}

@keyframes bounce-emoji {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.sticky-note-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #1a237e;
  text-align: center;
  margin-bottom: 0.75rem;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
  line-height: 1.2;
}

.sticky-note-message {
  font-size: 1rem;
  color: #333;
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
}

.sticky-note-highlight {
  background: rgba(255, 107, 107, 0.15);
  border: 2px dashed #ff6b6b;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: pulse-highlight 2s ease-in-out infinite;
}

@keyframes pulse-highlight {
  0%,
  100% {
    background: rgba(255, 107, 107, 0.15);
    border-color: #ff6b6b;
  }
  50% {
    background: rgba(255, 107, 107, 0.25);
    border-color: #ff5252;
  }
}

.sticky-note-arrow {
  font-size: 1.5rem;
  animation: arrow-bounce 1s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.sticky-note-offer {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sticky-note-urgency {
  text-align: center;
  font-size: 0.95rem;
  color: #d32f2f;
  font-weight: 800;
  margin-bottom: 1.25rem;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.sticky-note-btn {
  display: block;
  background: linear-gradient(135deg, #1a237e 0%, #4a90e2 100%);
  color: #fff;
  text-align: center;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
  transition: all 0.3s ease;
  border: 2px solid #1a237e;
}

.sticky-note-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
  background: linear-gradient(135deg, #4a90e2 0%, #1a237e 100%);
  color: #fff;
}

/* ── Folded Corner Effect ── */
.sticky-note-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent #d4a017 transparent;
  opacity: 0.3;
}

/* ── Background Sticky Note ── */
.sticky-note-back {
  position: absolute;
  top: 20px;
  left: -15px;
  width: 90%;
  max-width: 340px;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  transform: rotate(-5deg);
  z-index: 0;
  opacity: 0.7;
}

.sticky-note-back .sticky-note-content {
  text-align: left;
}

.sticky-note-small {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.sticky-note-small:last-child {
  margin-bottom: 0;
}

/* ── Utility ── */
.img-cover-340 {
  max-height: 340px;
  object-fit: cover;
}

/* ── Local SEO section ── */
.local-seo-section {
  background: #f0f4ff;
}
.local-seo-links {
  font-size: 0.9rem;
}
.local-seo-link {
  color: #4a90e2;
  font-weight: 600;
  margin: 0 0.5rem;
}

/* ── Author / E-E-A-T byline ── */
.author-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd700;
}
.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a237e;
}
.author-role {
  font-size: 0.8rem;
  color: #555;
  margin-left: 0.4rem;
}
.author-creds {
  font-size: 0.75rem;
  color: #777;
}
.author-meta {
  font-size: 0.78rem;
  color: #888;
  border-left: 1px solid #ddd;
  padding-left: 1rem;
}

/* ── Misc ── */
.overlay-stats {
  background: rgba(26, 35, 126, 0.82);
}
.cta-final {
  background: linear-gradient(135deg, #1a237e 0%, #4a90e2 100%);
}
.avatar-circle {
  width: 40px;
  height: 40px;
  font-weight: bold;
}
.footer-address-link {
  color: inherit;
  text-decoration: none;
}
.footer-address {
  font-style: normal;
}

/* ── Tablet ── */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-section {
    padding: 3rem 1.5rem;
  }
  .hero-inner {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-text {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .sticky-note-container {
    flex: 1 1 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-image {
    flex: 1 1 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-img {
    max-height: 350px;
    width: 100%;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 1.25rem;
  }
  .hero-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .hero-text {
    flex: 1 1 100%;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .sticky-note-container {
    order: -1;
    min-height: 350px;
  }
  .sticky-note {
    padding: 2rem 1.5rem 1.5rem;
    max-width: 100%;
  }
  .sticky-note-title {
    font-size: 1.5rem;
  }
  .sticky-note-emoji {
    font-size: 2.5rem;
  }
  .sticky-note-message {
    font-size: 0.95rem;
  }
  .sticky-note-offer {
    font-size: 1.1rem;
  }
  .sticky-note-btn {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }
  .sticky-note-back {
    display: none;
  }
  .hero-image {
    order: -1;
  }
  .hero-img {
    max-height: 240px;
  }
}

/* ── Standardized Widget Sections ── */
/* Matches Google Translate widget container styling */

.abacus-demo-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 3rem 0;
}

.countdown-section {
  padding: 2rem 0;
  background: #ffffff;
}

/* Ensure content-container is consistent across all widgets */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .abacus-demo-section {
    padding: 2rem 0;
  }

  .countdown-section {
    padding: 1.5rem 0;
  }

  .content-container {
    padding: 0 0.75rem;
  }
}
