/*
Theme Name: SafeCircle
Theme URI: https://safecircle.co.za
Author: Spectre Group (Pty) Ltd
Description: SafeCircle landing/marketing theme — daily wellbeing check-ins for the people you love. Single-page design, self-contained (no page builder or block editor styling assumed).
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Unlicensed — private theme
Text Domain: safecircle
*/


  @import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&family=Fredoka:wght@500;600;700&display=swap');

  :root{
    --navy:#152238;
    --navy-soft:#33415C;
    --yellow:#FFD400;
    --yellow-deep:#F2B705;
    --cream:#FFF8E0;
    --coral:#D7263D;
    --green:#1F9D55;
    --white:#fff;
    --line:rgba(21,34,56,0.12);
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:'Atkinson Hyperlegible', -apple-system, 'Segoe UI', sans-serif;
    color:var(--navy);
    background:var(--cream);
    overflow-x:hidden;
  }
  h1,h2,h3,.display{ font-family:'Fredoka', sans-serif; }
  .wrap{ max-width:1080px; margin:0 auto; padding:0 24px; }
  a{ color:inherit; }

  /* signature: concentric "safety ring" motif */
  .ring{
    position:absolute; border-radius:50%; border:2px dashed rgba(255,212,0,0.35);
  }

  header.nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 24px; max-width:1080px; margin:0 auto;
    flex-wrap:wrap; gap:14px;
  }
  .nav-links{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
  .brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:20px; }
  .brand .dot{ width:14px;height:14px;border-radius:50%; background:var(--yellow); box-shadow:0 0 0 4px rgba(255,212,0,0.25); }
  .brand .logo-img{
    width:32px;height:32px;display:block;
    /* Animation is now baked into the GIF itself (real 3D left-right
       flip), so no CSS transform/rotation is applied here anymore --
       that used to spin flat/clockwise and fought the GIF's own motion. */
  }
  /* Navy background + a slow shimmering gold sweep, on every one of
     these 4 nav buttons everywhere they appear on the site. White text
     on navy gives strong, reliable contrast — deliberately sized up and
     bolded for easy reading. */
  .nav a.cta{
    background:var(--navy); color:#fff; padding:14px 22px; border-radius:999px;
    text-decoration:none; font-weight:700; font-size:16px; line-height:1.2;
    border:1.5px solid var(--yellow-deep);
    position:relative; overflow:hidden; isolation:isolate; display:inline-block;
  }
  .nav a.cta::before{
    content:""; position:absolute; top:0; left:-150%; width:60%; height:100%;
    background:linear-gradient(120deg, transparent 0%, rgba(255,212,0,0.55) 50%, transparent 100%);
    transform:skewX(-20deg); animation:cta-shimmer 3.2s ease-in-out infinite; z-index:-1;
  }
  @keyframes cta-shimmer{
    0%{ left:-150%; }
    50%{ left:150%; }
    100%{ left:150%; }
  }

  .hero{
    position:relative;
    background:var(--navy);
    color:white;
    overflow:hidden;
    padding:48px 0 56px;
  }
  .hero .ring{ top:-120px; right:-120px; width:420px; height:420px; }
  .hero .ring.r2{ width:300px; height:300px; top:-60px; right:-60px; }
  .hero-grid{
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;
    position:relative; z-index:2;
  }
  .why-grid{
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;
  }
  .eyebrow{
    display:inline-block; background:rgba(255,212,0,0.15); color:var(--yellow);
    border:1px solid rgba(255,212,0,0.4); padding:6px 14px; border-radius:999px;
    font-size:13px; font-weight:700; letter-spacing:0.3px; margin-bottom:16px;
  }
  .hero h1{ font-size:44px; line-height:1.12; margin:0 0 16px; }
  .hero h1 span{ color:var(--yellow); }
  .hero p.lead{ font-size:18px; color:rgba(255,255,255,0.8); line-height:1.6; max-width:480px; margin:0 0 26px; }
  .store-row{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
  .store-badge{
    display:flex; align-items:center; gap:10px; background:black; color:white;
    padding:11px 18px; border-radius:12px; text-decoration:none; border:1px solid rgba(255,255,255,0.25);
  }
  .store-badge .glyph{ font-size:22px; }
  .store-badge .t1{ font-size:10px; opacity:0.8; display:block; }
  .store-badge .t2{ font-size:16px; font-weight:700; font-family:'Fredoka',sans-serif; }
  .trust{ margin-top:22px; font-size:13px; color:rgba(255,255,255,0.6); }

  .mocks-row{ display:flex; gap:20px; justify-content:center; align-items:center; flex-wrap:wrap; }

  .phone-mock{
    justify-self:center;
    width:260px; height:520px; background:var(--cream); border-radius:38px;
    border:8px solid var(--navy-soft); box-shadow:0 30px 60px rgba(0,0,0,0.4);
    padding:16px; position:relative; z-index:2;
  }
  .phone-mock .bar{ background:var(--navy); color:white; border-radius:10px; padding:8px 10px; font-size:11px; font-weight:700; display:flex; justify-content:space-between; margin-bottom:14px; }
  .phone-mock .status{ background:rgba(31,157,85,0.12); border:1px solid var(--green); color:var(--green); font-size:11px; font-weight:700; padding:6px 10px; border-radius:8px; text-align:center; margin-bottom:16px;}
  .phone-mock .circle{
    width:150px; height:150px; border-radius:50%; margin:0 auto 14px;
    background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--green) 55%, #167a41 100%);
    color:white; display:flex; flex-direction:column; align-items:center; justify-content:center;
    font-family:'Fredoka',sans-serif; font-weight:700; font-size:15px; box-shadow:0 10px 24px rgba(31,157,85,0.4);
  }
  .phone-mock .circle .icon{ font-size:34px; }
  .phone-mock .row{ display:flex; gap:8px; }
  .phone-mock .chip{ flex:1; background:white; border:1px solid var(--line); border-radius:10px; padding:10px; text-align:center; font-size:11px; font-weight:700; color:var(--navy); }

  .splash-mock{
    width:260px; height:520px; border-radius:38px;
    border:8px solid var(--navy-soft); box-shadow:0 30px 60px rgba(0,0,0,0.4);
    position:relative; z-index:2; overflow:hidden;
    background:linear-gradient(160deg, var(--navy) 0%, #0d1b30 100%);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:18px; padding:16px;
  }
  .splash-mock img{ width:72px; height:72px; }
  .splash-mock .splash-title{ font-family:'Fredoka',sans-serif; font-weight:700; font-size:26px; color:white; }
  .splash-mock .splash-start{
    background:white; color:var(--navy); font-family:'Fredoka',sans-serif; font-weight:700;
    font-size:15px; padding:10px 32px; border-radius:999px; border:none;
  }

  section{ padding:70px 0; }
  .section-head{ text-align:center; max-width:600px; margin:0 auto 44px; }
  .section-head .eyebrow{ background:rgba(21,34,56,0.06); color:var(--navy-soft); border-color:var(--line); }
  .section-head h2{ font-size:32px; margin:10px 0 12px; }
  .section-head p{ color:var(--navy-soft); font-size:16px; line-height:1.6; }

  .features{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.feature{background:white; border:1px solid var(--line); border-radius:16px; padding:22px; transition:transform 0.25s ease, box-shadow 0.25s ease; cursor:pointer; position:relative; overflow:hidden; isolation:isolate; }  .feature:hover{ transform:scale(1.2) translateY(-8px); box-shadow:0 30px 60px rgba(21,34,56,0.25); z-index:2; position:relative; }
.feature .ic{font-size:25px; margin-bottom:9px; display:block; } 
.feature h3{margin:0 0 7px; font-size:15px; }
.feature p{margin:0; font-size:13px; color:var(--navy-soft); line-height:1.55; }
/* Shimmer — always on (no click needed), 2x slower than the nav's 3.2s
   (6.4s), and staggered 1s apart per card via nth-child so it ripples
   across the 9 boxes instead of firing all at once. */
.feature::before{
  content:""; position:absolute; top:0; left:-150%; width:60%; height:100%;
  background:linear-gradient(120deg, transparent 0%, rgba(255,212,0,0.5) 50%, transparent 100%);
  transform:skewX(-20deg); animation:cta-shimmer 6.4s ease-in-out infinite; z-index:-1;
}
.feature:nth-child(1)::before{ animation-delay:0s; }
.feature:nth-child(2)::before{ animation-delay:1s; }
.feature:nth-child(3)::before{ animation-delay:2s; }
.feature:nth-child(4)::before{ animation-delay:3s; }
.feature:nth-child(5)::before{ animation-delay:4s; }
.feature:nth-child(6)::before{ animation-delay:5s; }
.feature:nth-child(7)::before{ animation-delay:6s; }
.feature:nth-child(8)::before{ animation-delay:7s; }
.feature:nth-child(9)::before{ animation-delay:8s; }
  /* Pricing */
  .pricing-wrap{ background:var(--navy); position:relative; overflow:hidden; }
  .pricing-wrap .ring{ bottom:-140px; left:-100px; width:360px; height:360px; }
  .pricing-wrap .section-head h2, .pricing-wrap .section-head p{ color:white; }
  .pricing-wrap .section-head p{ color:rgba(255,255,255,0.7); }
  .pricing-wrap .eyebrow{ background:rgba(255,212,0,0.15); color:var(--yellow); border-color:rgba(255,212,0,0.4); }

  .plans{ display:grid; grid-template-columns:1fr 1fr; gap:24px; position:relative; z-index:2; }
  .plan{ background:white; border-radius:22px; padding:30px 26px; position:relative; }
  .plan.premium{ background:linear-gradient(180deg,#1E2E4C,#152238); color:white; border:2px solid var(--yellow); }
  .plan .badge-pop{
    position:absolute; top:-14px; right:24px; background:var(--yellow); color:var(--navy);
    font-weight:700; font-size:12px; padding:6px 14px; border-radius:999px;
  }
  .plan h3{ font-size:14px; text-transform:uppercase; letter-spacing:1px; color:var(--navy-soft); margin:0 0 6px; }
  .plan.premium h3{ color:var(--yellow); }
  .plan .price{ font-size:42px; font-weight:700; font-family:'Fredoka',sans-serif; margin:0 0 4px; }
  .plan .price span{ font-size:15px; font-weight:400; color:var(--navy-soft); }
  .plan.premium .price span{ color:rgba(255,255,255,0.65); }
  .plan .sub{ font-size:13px; color:var(--navy-soft); margin-bottom:20px; }
  .plan.premium .sub{ color:rgba(255,255,255,0.65); }
  .plan ul{ list-style:none; padding:0; margin:0 0 24px; }
  .plan li{ display:flex; gap:10px; padding:8px 0; font-size:14.5px; border-bottom:1px dashed var(--line); }
  .plan.premium li{ border-bottom:1px dashed rgba(255,255,255,0.15); }
  .plan li:last-child{ border-bottom:none; }
  .plan li .check{ color:var(--green); font-weight:700; }
  .plan.premium li .check{ color:var(--yellow); }
  .plan .plan-cta{
    display:block; text-align:center; padding:13px; border-radius:12px; text-decoration:none;
    font-weight:700; font-family:'Fredoka',sans-serif;
  }
  .plan:not(.premium) .plan-cta{ background:var(--navy); color:white; }
  .plan.premium .plan-cta{ background:var(--yellow); color:var(--navy); }
  .plan-cta{ transition:opacity 200ms ease, transform 150ms ease, box-shadow 200ms ease; }
  .plan-cta.plan-selected{ box-shadow:0 0 0 3px rgba(31,157,85,0.55); }
  .plan-cta.plan-selected::after{ content:" ✓ Selected"; }
  .plan-cta.plan-deselected{ opacity:0.45; }

  .compare{ margin-top:50px; overflow-x:auto; position:relative; z-index:2; }
  table{ width:100%; border-collapse:collapse; background:white; border-radius:16px; overflow:hidden; }
  th,td{ padding:14px 16px; text-align:left; font-size:14px; border-bottom:1px solid var(--line); }
  th{ background:var(--cream); font-family:'Fredoka',sans-serif; }
  td.center, th.center{ text-align:center; }
  .yes{ color:var(--green); font-weight:700; }
  .no{ color:#B7BFCC; }

  .faq{ max-width:720px; margin:0 auto; }
  .faq-box{ background:var(--cream); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
  .faq-box-head{ list-style:none; cursor:pointer; padding:26px 30px; text-align:center; }
  .faq-box-head::-webkit-details-marker{ display:none; }
  .faq-box-head .eyebrow{ margin-bottom:12px; }
  .faq-box-head h2{ margin:0; }
  .faq-box-body{ padding:0 24px 24px; }
  .qa{ background:white; border:1px solid var(--line); border-radius:14px; padding:16px 20px; margin-bottom:12px; }
  .qa h4{ margin:0 0 6px; font-size:16px; }
  .qa p{ margin:0; font-size:14px; color:var(--navy-soft); line-height:1.6; }

  footer{ background:var(--navy); color:rgba(255,255,255,0.7); padding:36px 0; text-align:center; font-size:13px; }
  footer .brand{ color:white; justify-content:center; margin-bottom:10px; }

  .pay-box{
    margin-top:34px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.15);
    border-radius:18px; padding:26px; position:relative; z-index:2;
  }
  .bank-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:14px 0; }
  .bank-grid .item{ background:rgba(255,255,255,0.08); border-radius:12px; padding:12px 14px; }
  .bank-grid .item .k{ font-size:11px; color:rgba(255,255,255,0.55); text-transform:uppercase; letter-spacing:0.5px; }
  .bank-grid .item .v{ font-size:15px; font-weight:700; color:white; font-family:'Fredoka',sans-serif; }

  .contact-box{ background:white; border:1px solid var(--line); border-radius:20px; padding:30px; text-align:center; }
  .contact-row{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
  .contact-row a{
    display:inline-flex; align-items:center; gap:8px; padding:12px 20px; border-radius:12px;
    text-decoration:none; font-weight:700; font-family:'Fredoka',sans-serif; font-size:14px;
  }
  .contact-row a.email{ background:var(--navy); color:white; }

  .confirm-box{
    margin-top:20px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.15);
    border-radius:18px; padding:26px; position:relative; z-index:2;
  }
  .confirm-plan-box{
    border:1.5px solid rgba(255,255,255,0.2); border-radius:14px; padding:14px 16px;
    background:rgba(255,255,255,0.04); cursor:pointer; transition:background 150ms, border-color 150ms;
  }
  .confirm-plan-box.selected{
    border-color:var(--yellow); background:rgba(255,212,0,0.1);
  }
  .confirm-plan-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .confirm-plan-head-left{ display:flex; align-items:center; gap:10px; }
  .confirm-plan-tick{
    width:22px; height:22px; border-radius:50%; flex-shrink:0;
    border:2px solid rgba(255,255,255,0.35); background:transparent;
    display:flex; align-items:center; justify-content:center;
    font-size:13px; color:transparent;
  }
  .confirm-plan-box.selected .confirm-plan-tick{
    border-color:var(--yellow); background:var(--yellow); color:var(--navy);
  }
  .confirm-plan-name{ font-family:'Fredoka',sans-serif; font-weight:700; font-size:16px; color:white; }
  .confirm-plan-price{ font-family:'Fredoka',sans-serif; font-weight:700; font-size:17px; color:white; }
  .confirm-plan-price span{ font-size:12px; font-weight:400; color:rgba(255,255,255,0.6); }

  .consent-row{
    display:flex; gap:12px; align-items:flex-start; margin:14px 0;
    font-size:13.5px; color:rgba(255,255,255,0.85); line-height:1.5; cursor:pointer;
  }
  .consent-row input{ margin-top:3px; width:18px; height:18px; flex-shrink:0; accent-color:var(--yellow); cursor:pointer; }
  .btn-confirm{
    width:100%; margin-top:12px; padding:15px; border:none; border-radius:14px;
    background:var(--yellow); color:var(--navy); font-family:'Fredoka',sans-serif; font-weight:700;
    font-size:16px; cursor:pointer; transition:opacity 200ms;
  }
  .btn-confirm:disabled{ opacity:0.4; cursor:not-allowed; }

  #admin .field{ margin-bottom:12px; }
  #admin label{ display:block; font-size:12px; font-weight:700; color:var(--navy-soft); margin-bottom:4px; }
  #admin input{ width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--line); font-size:14px; font-family:inherit; }
  #admin h3{ margin:22px 0 10px; font-size:16px; }
  #admin h3:first-of-type{ margin-top:0; }
  .note{ font-size:12.5px; color:var(--navy-soft); line-height:1.6; }

  @media(max-width:820px){
    .hero-grid{ grid-template-columns:1fr; }
    .why-grid{ grid-template-columns:1fr; }
    .phone-mock{ margin-top:20px; }
    .mocks-row{ margin-top:20px; }
    .features{ grid-template-columns:1fr; }
    .plans{ grid-template-columns:1fr; }
    .hero h1{ font-size:32px; }
    header.nav{ flex-direction:column; align-items:stretch; }
    .nav-links{ flex-direction:column; width:100%; gap:10px; }
    .nav a.cta{ width:100%; text-align:center; }
  }

/* EFT button hover tooltip */
.eft-tooltip { overflow: visible; }
.eft-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.eft-tooltip:hover::after,
.eft-tooltip:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}
.plan-circle {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  margin-right: 8px;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.2s;
}
.plan-circle:hover,
.plan-circle:focus {
  background: var(--yellow);
}