:root{
  /* Colors inferred from your logo gradient */
  --grad-start: #0FA8A1;  /* teal (left) */
  --grad-end:   #2976A4;  /* blue (right) */

  /* Light theme flip */
  --bg:   #ffffff;
  --text: #111111;
  --muted:#444444;
  --card:#f6f7f9;
}

/* Global reset/typography */
*{margin:0;padding:0;box-sizing:border-box}
body{
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}



.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 2rem;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg,var(--grad-start),var(--grad-end)) 1;
  background:#fff;
  position:sticky; top:0; z-index:10;
}

.brand{display:flex; align-items:center; gap:1rem}
.logo{
  height:60px;        /* control ONE dimension so it never distorts */
  width:auto;
  display:block;
  object-fit:contain;
}
.brand-text p{color:var(--muted); margin-top:0.2rem}

/* Optional nav */
.nav{
  display:flex;
  align-items:center;
  gap:0.75rem;
}

.nav a{
  color:var(--text);
  text-decoration:none;
  padding:0.35rem 0.75rem;
  font-weight:600;
  border-radius:999px;
  transition:background-color 0.2s ease,color 0.2s ease;
}
.nav a:hover,
.nav a:focus-visible{
  background: linear-gradient(90deg,var(--grad-start),var(--grad-end));
  color:#fff;
  outline:none;
  box-shadow:0 0 0 3px rgba(15,168,161,0.25);
}

/* Sections */
section{
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
h2{margin-bottom:1rem}
h3{margin-bottom:0.5rem}

/* Gradient text utility for headings */
.grad-text{
  background: linear-gradient(90deg,var(--grad-start),var(--grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- NEW: About (text + image side-by-side) ---------- */
.about-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  flex-wrap:wrap;             /* allows stacking on narrow screens */
}
.about-text{ flex:1 1 50%; min-width:280px; }
.about-image{ flex:1 1 50%; min-width:280px; text-align:center; }
.about-img{
  max-width:100%;
  height:auto;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* Services grid */
.services{
  display:grid;
  gap:1.5rem;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.service{
  background:var(--card);
  border:1px solid #e5e7eb;
  border-left:6px solid transparent;
  border-image: linear-gradient(180deg,var(--grad-start),var(--grad-end)) 1;
  padding:1.25rem 1.25rem 1.25rem 1rem;
  border-radius:10px;
}
.service p{color:#333}

/* Blog */
.blog-intro{text-align:center}
.blog-posts{
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.blog-post{
  background:var(--card);
  border-radius:12px;
  padding:1.5rem;
  border:1px solid #e5e7eb;
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  min-height:220px;
}
.blog-post h3{margin-bottom:0.25rem}
.read-more{
  margin-top:auto;
  align-self:flex-start;
  color:var(--grad-end);
  font-weight:600;
  text-decoration:none;
  border-bottom:2px solid transparent;
}
.read-more:hover,
.read-more:focus-visible{
  border-image: linear-gradient(90deg,var(--grad-start),var(--grad-end)) 1;
  outline:none;
}

/* Blog article */
.blog-article{
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-article-header{
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
}

.blog-meta{
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-hero-image{
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 14px 45px rgba(15, 168, 161, 0.2);
}

.blog-content{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.05rem;
}

.blog-content h2{
  font-size: 1.75rem;
}

.blog-article-nav{
  display: flex;
  justify-content: center;
}

.back-link{
  color: var(--grad-end);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.back-link:hover,
.back-link:focus-visible{
  border-image: linear-gradient(90deg,var(--grad-start),var(--grad-end)) 1;
  outline: none;
}

/* Gradient rule separator */
.rule{
  height:4px;
  border:0;
  background: linear-gradient(90deg,var(--grad-start),var(--grad-end));
  margin: 0 auto;
  max-width:980px;
}

/* Contact */
.contact{text-align:center}
.contact a{
  color:var(--text);
  font-weight:700;
  text-decoration:none;
  border-bottom:2px solid transparent;
  border-image: linear-gradient(90deg,var(--grad-start),var(--grad-end)) 1;
}
.contact a:hover{
  background: linear-gradient(90deg,var(--grad-start),var(--grad-end));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Footer */
footer{
  text-align:center;
  padding:1rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg,var(--grad-start),var(--grad-end)) 1;
  color:#555;
  background:#fff;
}

/* Hero (if you still use it elsewhere) */
.hero { text-align: center; margin: 2rem auto; }
.hero-img {
  max-width: 700px; width: 90%; height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 800px){
  .services{grid-template-columns:1fr}
  .logo{height:52px}
  .brand{flex-direction:column; align-items:flex-start}
  .nav{flex-wrap:wrap; justify-content:flex-start; gap:0.5rem 0.75rem; margin-top:0.75rem}
  /* Stack About content on small screens */
  .about-flex{flex-direction:column}
  .about-image{text-align:center}
}

/* ========================= */
/* == Product Page Styles == */
/* ========================= */

/* Wrapper class (works alongside global section rules) */
.product-wrap { padding-top: 2.25rem; padding-bottom: 2rem; }

/* Hero */
.product-hero{
  display:flex;
  align-items:center;
  gap:0.75rem;
  margin:0.5rem 0 0.5rem;
}

/* Tagline under hero */
.tagline{ color: var(--muted); max-width: 780px; }

/* CTA buttons */
.cta-row{
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
.btn{
  padding:0.7rem 1rem;
  border-radius:10px;
  border:1px solid #e5e7eb;
  background:var(--card);
  text-decoration:none;
  color:var(--text);
  font-weight:700;
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover, .btn:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(15,168,161,0.15);
  outline:none;
}
.btn.primary{
  border:0;
  background: linear-gradient(90deg,var(--grad-start),var(--grad-end));
  color:#fff;
}

/* Screens grid */
.screencap-grid{
  display:grid;
  gap:1rem;
  margin-top:1.25rem;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.cap{
  background:var(--card);
  border:1px solid #e5e7eb;
  border-radius:12px;
  overflow:hidden;
}
.cap img{ display:block; width:100%; height:auto; }
.cap figcaption{
  padding:0.6rem 0.8rem;
  color:#333;
  font-size:0.95rem;
}

/* Two-column layout reused on product page */
.two-col{
  display:grid;
  gap:1.25rem;
  grid-template-columns:1fr 1fr;
}

/* Text helpers */
.kicker{ font-weight:700; color:#333; margin-bottom:0.25rem; }
.list{ margin-top:0.4rem; }
.list li{ margin-left:1.1rem; }
.note{ font-size:0.95rem; color:#555; }

/* Responsive adjustments for product page */
@media (max-width: 900px){
  .two-col{ grid-template-columns:1fr; }
  .screencap-grid{ grid-template-columns:1fr; }
}
