/* =========================================================
   Viral Flow LLC — viralflow.shop
   Cyfrowy katalog infoproduktów
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta alinhada à logo: azul -> teal -> verde, texto ardósia */
  --background: hsl(210, 22%, 97%);
  --foreground: hsl(214, 26%, 20%);          /* #2b3440 — texto da logo */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(214, 26%, 20%);
  --brand-blue: #2f7bed;                       /* azul da logo */
  --brand-teal: #14a3c6;                       /* teal da logo */
  --brand-green: #28b24b;                      /* verde da logo */
  --primary: hsl(214, 82%, 45%);               /* azul p/ botões e links (bom contraste) */
  --primary-dark: hsl(214, 82%, 36%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: var(--brand-teal);
  --accent: var(--brand-green);
  --muted: hsl(210, 18%, 93%);
  --muted-foreground: hsl(214, 14%, 42%);
  --border: hsl(213, 16%, 85%);
  --radius: 0.75rem;
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Merriweather', Georgia, serif; line-height: 1.2; }

a { color: inherit; }

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

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--foreground); }
.logo-mark { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; }
.logo-mark img, .logo-mark svg { width: 100%; height: 100%; }
.logo-text { font-family: 'Source Sans 3', sans-serif; font-style: italic; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--foreground); }
.logo-text b { color: inherit; font-weight: 700; }
.header-right { display: flex; align-items: center; gap: 2rem; }
nav { display: flex; gap: 1.75rem; }
nav a { text-decoration: none; color: var(--foreground); font-weight: 500; transition: color .2s; }
nav a:hover { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.9rem; border-radius: .6rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; font-size: 1rem;
  transition: all .2s; font-family: inherit;
}
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { transform: translateY(-2px); background: hsl(215,20%,95%); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-buy { width: 100%; background: var(--primary); color: #fff; }
.btn-buy:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(130deg, #123a6b 0%, var(--brand-blue) 42%, var(--brand-teal) 74%, var(--brand-green) 100%);
  color: #fff; padding: 5rem 1.25rem; text-align: center;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: .4rem 1rem; border-radius: 100px; font-size: .85rem; margin-bottom: 1.5rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; margin-bottom: 1.4rem; }
.hero p { font-size: 1.2rem; max-width: 720px; margin: 0 auto 2.5rem; opacity: .95; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.trust-indicators { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-size: .92rem; opacity: .9; }
.trust-item svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
.section { padding: 5rem 1.25rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
.section-header p { color: var(--muted-foreground); max-width: 640px; margin: 0 auto; }

/* ---------- Products ---------- */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}
.product-card {
  background: var(--card); border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  transition: all .3s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 10px 10px -5px rgba(0,0,0,.05); }
.product-image {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-teal) 55%, var(--brand-green) 100%);
  height: 180px; display: flex; align-items: center; justify-content: center;
}
.product-image svg { width: 60px; height: 60px; color: #fff; opacity: .9; }
.product-image--photo { height: 220px; padding: 12px; }
.product-image--photo img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.30)); }
.product-image--cover { height: 220px; padding: 0; background: #000; }
.product-image--cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-content { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.product-price { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: .9rem; font-family: 'Source Sans 3', sans-serif; }
.product-description { color: var(--muted-foreground); font-size: .95rem; margin-bottom: 1rem; }
.product-disclaimer { font-size: .75rem; color: var(--muted-foreground); font-style: italic; margin-bottom: 1rem; }
.product-content .btn-buy { margin-top: auto; }

/* ---------- Trust / feature cards ---------- */
.tint { background: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.feature-card { text-align: center; padding: 1.5rem; }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(47,123,237,.12), rgba(40,178,75,.12)); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { color: var(--muted-foreground); font-size: .95rem; }

/* ---------- Company info panel ---------- */
.info-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem;
  max-width: 960px; margin: 0 auto;
}
.info-item .label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); margin-bottom: .25rem; }
.info-item .value, .info-item address { font-style: normal; font-weight: 600; }

/* ---------- Payments ---------- */
.pay-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.pay-card {
  background: var(--card); border: 1px solid var(--border); border-radius: .6rem;
  padding: .9rem 1.4rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; min-width: 130px; justify-content: center;
}
.pay-card img { height: 22px; }

/* ---------- Legal content pages ---------- */
.legal { padding: 3.5rem 1.25rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 2rem; margin-bottom: .5rem; }
.legal .updated { color: var(--muted-foreground); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.legal h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.legal p, .legal li { color: var(--foreground); margin-bottom: .75rem; }
.legal ul, .legal ol { padding-left: 1.4rem; margin-bottom: .75rem; }
.legal a { color: var(--primary); }

/* ---------- Footer ---------- */
footer { background: var(--foreground); color: #fff; padding: 3.5rem 1.25rem 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-section h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.footer-section p, .footer-section a { color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.85; }
.footer-section a { display: block; text-decoration: none; transition: color .2s; }
.footer-section a:hover { color: #fff; }
.footer-legal-block { color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.8; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  color: rgba(255,255,255,.55); font-size: .85rem;
}
.footer-pay { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.footer-pay img { height: 20px; background: #fff; border-radius: 3px; padding: 1px 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  nav { display: none; }
  .hero { padding: 3.5rem 1.25rem; }
  .trust-indicators { gap: 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
