/* styles.css - Toni_unfolds starter */
:root{
  --purple:#5d07a7;
  --pink:#da6973;
  --mint:#8ec7d8;
  --off:#cec3ba;
  --sky:#7fc2ec;
  --ink:#241220;
  --muted:#5a5a66;
  --radius:14px;
  --gap:1rem;
  --container:1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--off);
  line-height:1.6;
}

h1,h2,h3{font-family:"Unica One", Arial, sans-serif; letter-spacing:0.2px}
h1{font-size:clamp(2rem, 3.8vw, 3rem); line-height:1.1; margin:0 0 .5rem}
h2{font-size:clamp(1.5rem, 2.5vw, 2.2rem); margin:0 0 .5rem}
h3{font-size:1.25rem; margin:.25rem 0 .5rem}
.lead{font-size:1.125rem; color:var(--muted)}

.container{max-width:var(--container); margin:0 auto; padding:0 1rem}

.skip-link{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip-link:focus{left:1rem; top:1rem; width:auto; height:auto; background:#fff; padding:.5rem 1rem; border-radius:8px; box-shadow:0 2px 6px rgba(0,0,0,.15)}

.site-header{
  position:sticky; top:0; z-index:10;
background: #8EC7D8;
background: linear-gradient(90deg,rgba(218, 105, 115, 0.13) 0%, rgba(93, 7, 167, 0.18) 95%, rgba(142, 199, 216, 0.74) 100%);
backdrop-filter: blur(8px);

  border-bottom:1px solid rgba(0,0,0,.06);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; height:64px}
.brand-link{font-family:"Unica One"; font-size:1.25rem; text-decoration:none; color:var(--ink)}
.primary-nav .menu{display:flex; gap:1rem; list-style:none; margin:0; padding:0}
.primary-nav a{color:var(--ink); text-decoration:none; padding:.5rem .75rem; border-radius:8px}
.primary-nav a:focus, .primary-nav a:hover{background:rgba(127,194,236,.25)}
.menu-toggle{display:none}

.section{padding:clamp(2rem, 5vw, 5rem) 0}
.hero{padding-top:2rem}
.hero-inner{display:grid; grid-template-columns:1fr; gap:2rem; align-items:center}
.hero-media img{width:100%; height:auto; border-radius:var(--radius)}
.cta-row{display:flex; gap:.75rem; flex-wrap:wrap; margin-top:1rem}

.values-grid{display:grid; grid-template-columns:1fr; gap:.75rem}
.value-pill{
  border-radius:999px; padding:.5rem .9rem; width:max-content;
  background:linear-gradient(90deg, var(--mint), var(--sky));
  color:#07324d; font-weight:600; box-shadow:0 1px 0 rgba(0,0,0,.05)
}

.two-col-inner{display:grid; grid-template-columns:1fr; gap:1.5rem; align-items:center}
.two-col .media img{width:100%; border-radius:var(--radius)}

.card-grid{display:grid; grid-template-columns:1fr; gap:1rem; margin-top:1rem}
.card{
  background:#fff; border-radius:var(--radius); padding:1rem 1.1rem;
  box-shadow:0 6px 20px rgba(0,0,0,.06); border:1px solid rgba(0,0,0,.05)
}
.card.featured{border-color:var(--pink); box-shadow:0 8px 28px rgba(224,82,223,.18)}
.price{font-weight:700; font-size:1.1rem; color:var(--purple); margin:.25rem 0 .75rem}
.card ul{margin:.25rem 0 .75rem 1.2rem}

.testimonials .quotes{display:grid; gap:1rem}
blockquote{margin:0; padding:1rem 1.25rem; background:#fff; border-left:4px solid var(--sky); border-radius:10px}
cite{color:var(--muted); font-style:normal}

.about .two-col-inner{gap:2rem}

.newsletter{background:linear-gradient(180deg, rgba(140,252,194,.25), rgba(127,194,236,.2))}
.newsletter-form{display:flex; gap:.5rem; flex-wrap:wrap; margin-top:.75rem}
.newsletter-form input[type="email"]{
  flex:1 1 240px; padding:.75rem .9rem; border-radius:10px; border:1px solid rgba(0,0,0,.15); background:#fff
}
.form-note{color:var(--muted); font-size:.9rem}

.contact-form{display:grid; gap:1rem; margin-top:1rem}
.field{display:flex; flex-direction:column; gap:.35rem}
.field-inline{display:grid; grid-template-columns:1fr; gap:1rem}
input, textarea, select{
  padding:.75rem .9rem; border-radius:10px; border:1px solid rgba(0,0,0,.15); background:#fff; font:inherit
}
input:focus, textarea:focus, select:focus{outline:2px solid var(--sky); outline-offset:1px}
.form-status{margin-top:.5rem; color:var(--muted)}

.btn{display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:.7rem 1rem; border-radius:999px; text-decoration:none; font-weight:600}
.btn-primary{background:var(--purple); color:#fff}
.btn-primary:hover, .btn-primary:focus{filter:brightness(1.08)}
.btn-secondary{background:var(--pink); color:#2b003f}
.btn-secondary:hover, .btn-secondary:focus{filter:brightness(1.08)}
.btn-ghost{background:transparent; color:var(--purple); border:1px solid var(--purple)}

.site-footer{padding:2rem 0; border-top:1px solid rgba(0,0,0,.08); margin-top:2rem}
.footer-inner{display:grid; gap:.5rem; justify-items:center; text-align:center}
.footer-inner nav{display:flex; gap:1rem; flex-wrap:wrap}
.brandmark{font-family:"Unica One"}

.visually-hidden{position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden}

@media (min-width:720px){
  .hero-inner{grid-template-columns:1.1fr 1fr}
  .values-grid{grid-template-columns:repeat(3, max-content)}
  .two-col-inner{grid-template-columns:1.1fr 1fr}
  .card-grid{grid-template-columns:repeat(3, 1fr)}
  .field-inline{grid-template-columns:1fr 1fr}
  .footer-inner{grid-template-columns:auto auto auto; align-items:center; justify-content:space-between; text-align:left}
  .primary-nav .menu{display:flex}
  .menu-toggle{display:none}
}

@media (max-width:719.98px){
  .primary-nav .menu{display:none; position:fixed; right:1rem; top:72px; background:#fff; padding:.75rem; border-radius:12px; box-shadow:0 14px 38px rgba(0,0,0,.18)}
  .menu-toggle{display:inline-flex; align-items:center; gap:.5rem; padding:.5rem .75rem; border-radius:8px; border:1px solid rgba(0,0,0,.1); background:#fff}
  .primary-nav[aria-expanded="true"] .menu{display:flex; flex-direction:column}
}



/* --- Gradient tokens and component overrides (appended) --- */
:root{
  --purple: #5d07a7;
  --pink:   #e052df;
  --mint:   #8cfcc2;
  --off:    #f0f1f5;
  --sky:    #7fc2ec;
  --ink:    #1e1e24;
  --muted:  #5a5a66;

  /* gradient tokens */
  --grad-primary: linear-gradient(135deg, #5d07a7 0%, #e052df 45%, #7fc2ec 100%);
  --grad-soft:    linear-gradient(180deg, rgba(140,252,194,0.16) 0%, rgba(127,194,236,0.08) 100%);
  --grad-card:    linear-gradient(180deg, rgba(93,7,167,0.06), rgba(224,82,223,0.03));
  --grad-accent:  radial-gradient(600px 300px at 10% 10%, rgba(224,82,223,0.12), transparent 30%),
                  radial-gradient(500px 250px at 90% 90%, rgba(140,252,194,0.10), transparent 30%);
}

/* Page background with subtle gradients */
body {
  background-image: var(--grad-accent);
  background-color: var(--off);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* Hero: image overlay for mood & legibility */
.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.hero-media::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(93,7,167,0.28) 0%, rgba(224,82,223,0.12) 40%, rgba(127,194,236,0.06) 100%);
  mix-blend-mode: multiply;
  transition: opacity .25s ease;
}

/* Cards: subtle gradient background with frosted layer for text legibility */
.card{
  background: var(--grad-card);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.72);
  mix-blend-mode: normal;
  pointer-events: none;
}
.card > * { position: relative; z-index: 1; }

/* Value pills: brighter gradient */
.value-pill{
  background: linear-gradient(90deg, var(--mint), var(--sky));
  color: #063046;
  font-weight:600;
  box-shadow: 0 6px 18px rgba(92,7,167,0.06);
}

/* Newsletter: keep the stronger, colorful gradient */
.newsletter{
  background: var(--grad-soft);
  border-radius: 16px;
  padding: 1.25rem;
}

/* Buttons: gradient fills for primary buttons */
.btn-primary{
  background-image: linear-gradient(to right,rgba(218, 105, 115,0.5) 25%, rgba(93, 7, 167,0.5) 90%, rgba(142, 199, 216,0.5) 100%)});
  ;
  box-shadow: 0 6px 18px rgba(142, 199, 216,0.15);
  border: none;
}
.btn-secondary{
  background-image: linear-gradient(to right,rgba(218, 105, 115,0.5) 25%, rgba(142, 199, 216,0.74) 100%)});
  color: rgba(218, 105, 115);
  border: none;
}
.btn-ghost{
  background: transparent;
  border: 1px solid rgba(93,7,167,0.15);
  color: var(--purple);
}

/* Footer: gentle gradient background for grounding */
.site-footer{
  background: linear-gradient(to right, rgba(127,194,236,0.50), rgba(140,252,194,0.04));
  border-top: none;
}

@media (max-width:719.98px){
  .hero-media::before{ opacity: 0.72; }
  .card::after{ background: rgba(255,255,255,0.86); }
}

/* Utility for ensuring contrast on top of gradients */
.text-ensure-contrast {
  position: relative;
}
.text-ensure-contrast::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  z-index: 0;
}
.text-ensure-contrast > * { position: relative; z-index: 1; }
