/* ============================================
   Kibermokymai.lt — soft modern design system
   ============================================ */
:root {
  --ink: #3a4258;          /* soft dark text */
  --ink-light: #8a91a5;    /* muted text */
  --bg: #fdfcfa;           /* warm off-white */
  --bg-soft: #f6f5f2;      /* section alt */
  --lavender: #eef0ff;
  --mint: #e6f4ee;
  --peach: #fdeee6;
  --sky: #e8f2f8;
  --accent: #7c83fd;       /* soft indigo */
  --accent-soft: #aab0ff;
  --accent-mint: #6fc2a0;
  --border: #ece9e2;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 40px rgba(90, 100, 140, 0.08);
  --shadow-sm: 0 4px 16px rgba(90, 100, 140, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 252, 250, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.logo span {
  background: linear-gradient(90deg, var(--accent), var(--accent-mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 10px 22px;
  border-radius: 999px; font-weight: 600 !important; box-shadow: 0 6px 18px rgba(124, 131, 253, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124, 131, 253, 0.4); color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--ink); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 34px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1.02rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #9b8cfd);
  color: #fff; box-shadow: 0 10px 28px rgba(124, 131, 253, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(124, 131, 253, 0.45); }
.btn-soft {
  background: #fff; color: var(--ink); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); margin-left: 14px;
}
.btn-soft:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero-blobs { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.blob-1 { width: 480px; height: 480px; background: var(--lavender); top: -140px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: var(--mint); bottom: -120px; left: -100px; }
.blob-3 { width: 300px; height: 300px; background: var(--peach); top: 30%; left: 38%; opacity: 0.4; }

.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 18px; font-size: 0.85rem; font-weight: 600; color: var(--accent);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-mint); }
.hero h1 { font-size: 3rem; line-height: 1.12; font-weight: 800; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin: 22px 0 30px; font-size: 1.15rem; color: var(--ink-light); max-width: 520px; }
.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-light); }
.hero-note strong { color: var(--accent-mint); }

.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.stat .num { font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.stat .lbl { font-size: 0.85rem; color: var(--ink-light); }

.hero-video {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16/9; background: #fff; border: 1px solid var(--border);
}
.hero-video iframe { width: 100%; height: 100%; border: 0; }
.hero-card-float {
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 14px 20px; display: flex; align-items: center; gap: 12px;
  margin-top: -28px; margin-left: 28px; width: fit-content; position: relative;
  border: 1px solid var(--border); font-size: 0.9rem; font-weight: 600;
}
.hero-card-float .check {
  width: 30px; height: 30px; border-radius: 50%; background: var(--mint);
  display: flex; align-items: center; justify-content: center; color: var(--accent-mint); font-weight: 800;
}

/* ---------- Media strip ---------- */
.media-strip { padding: 34px 0; }
.media-strip .container { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.media-strip .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-light); font-weight: 600; }
.media-strip a { color: var(--ink); font-weight: 800; font-size: 1.2rem; text-decoration: none; opacity: 0.45; transition: opacity 0.15s; letter-spacing: -0.02em; }
.media-strip a:hover { opacity: 1; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .kicker { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; }
.section-head h2 { font-size: 2.2rem; }
.section-head p { color: var(--ink-light); margin-top: 14px; font-size: 1.05rem; }

/* Icon tile */
.icon-tile {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon-tile svg { width: 26px; height: 26px; }
.tile-lavender { background: var(--lavender); color: var(--accent); }
.tile-mint { background: var(--mint); color: var(--accent-mint); }
.tile-peach { background: var(--peach); color: #e8927c; }
.tile-sky { background: var(--sky); color: #6aa9c9; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .stepnum { position: absolute; top: 24px; right: 24px; font-size: 2.2rem; font-weight: 800; color: var(--border); line-height: 1; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--ink-light); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit h3 { font-size: 1.05rem; margin-bottom: 6px; }
.benefit p { font-size: 0.92rem; color: var(--ink-light); }

/* Compliance */
.compliance-logos { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.compliance-logos .chip {
  background: #fff; border: 1px solid var(--border); color: var(--ink);
  padding: 12px 26px; border-radius: 999px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm); font-size: 0.95rem;
}
.compliance-logos .chip span { margin-right: 8px; }

/* Trust / founder */
.trust-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.trust-photo { position: relative; }
.trust-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-photo::before {
  content: ""; position: absolute; inset: -16px -16px 16px 16px; z-index: -1;
  background: linear-gradient(135deg, var(--lavender), var(--mint));
  border-radius: var(--radius);
}
.trust-grid h2 { font-size: 2rem; margin-bottom: 16px; }
.trust-grid p { color: var(--ink-light); margin-bottom: 12px; }
.cert-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cert-badges .chip {
  background: var(--lavender); color: var(--accent);
  padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 0.88rem;
}
.cert-badges .chip.mint { background: var(--mint); color: var(--accent-mint); }
.cert-badges .chip.peach { background: var(--peach); color: #e8927c; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Quote */
.quote-card {
  max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 48px; box-shadow: var(--shadow); text-align: center;
}
.quote-card .mark { font-size: 3rem; line-height: 0.5; color: var(--accent-soft); font-family: Georgia, serif; }
.quote-card blockquote { font-size: 1.25rem; font-weight: 500; color: var(--ink); margin: 18px 0 14px; line-height: 1.5; }
.quote-card cite { font-style: normal; color: var(--ink-light); font-size: 0.92rem; }

/* CTA band */
.cta-band { padding: 0; }
.cta-inner {
  background: linear-gradient(120deg, var(--lavender), var(--mint));
  border-radius: 28px; text-align: center; padding: 72px 40px; position: relative; overflow: hidden;
}
.cta-inner h2 { font-size: 2.1rem; margin-bottom: 14px; }
.cta-inner p { color: var(--ink-light); margin-bottom: 30px; font-size: 1.05rem; }

/* Cards (articles) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-top { height: 8px; }
.top-lavender { background: linear-gradient(90deg, var(--accent-soft), var(--lavender)); }
.top-mint { background: linear-gradient(90deg, #9ed8bf, var(--mint)); }
.top-peach { background: linear-gradient(90deg, #f7c2ae, var(--peach)); }
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card .tag { font-size: 0.76rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.card p { font-size: 0.92rem; color: var(--ink-light); flex: 1; }
.card a.more { margin-top: 18px; color: var(--accent); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.card a.more:hover { text-decoration: underline; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h2 { font-size: 2rem; margin-bottom: 14px; }
.contact-info > p { color: var(--ink-light); margin-bottom: 24px; }
.contact-item {
  display: flex; gap: 14px; margin-bottom: 14px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.contact-item .icon-tile { width: 40px; height: 40px; margin: 0; border-radius: 12px; flex-shrink: 0; }
.contact-item .icon-tile svg { width: 20px; height: 20px; }
.contact-item a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-item a:hover { color: var(--accent); }
.contact-item small { display: block; color: var(--ink-light); font-weight: 400; }
.contact-card {
  background: linear-gradient(150deg, var(--lavender), var(--sky));
  border-radius: var(--radius); padding: 38px; height: fit-content;
}
.contact-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.contact-card p { color: var(--ink-light); font-size: 0.95rem; margin-bottom: 20px; }

/* Card meta (article list) */
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 10px; }
.card-meta .date { font-size: 0.78rem; color: var(--ink-light); white-space: nowrap; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }

/* ---------- Article page ---------- */
.article-hero { position: relative; padding: 64px 0 36px; overflow: hidden; }
.article-hero .container { max-width: 760px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.article-meta .pill {
  background: var(--lavender); color: var(--accent); padding: 6px 16px;
  border-radius: 999px; font-weight: 700; font-size: 0.82rem;
}
.article-meta .date { color: var(--ink-light); font-size: 0.9rem; }
.article-hero h1 { font-size: 2.3rem; line-height: 1.2; font-weight: 800; }
.article-hero .intro { margin-top: 16px; font-size: 1.15rem; color: var(--ink-light); }

.article-body { padding: 24px 0 64px; }
.article-body .container { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; color: #4a5268; }
.prose ul, .prose ol { margin: 0 0 16px 24px; color: #4a5268; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); }
.prose blockquote {
  border-left: 4px solid var(--accent-soft); background: var(--lavender);
  padding: 18px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0; color: var(--ink); font-weight: 500;
}
.callout {
  background: var(--mint); border-radius: var(--radius-sm); padding: 22px 26px; margin: 28px 0;
}
.callout .callout-title { font-weight: 700; color: var(--accent-mint); margin-bottom: 6px; font-size: 0.95rem; }
.callout p { margin: 0; color: var(--ink); font-size: 0.97rem; }

.author-box {
  display: flex; gap: 18px; align-items: center; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px;
  box-shadow: var(--shadow-sm); margin-top: 48px;
}
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box .name { font-weight: 700; }
.author-box .role { font-size: 0.88rem; color: var(--ink-light); }
.author-box .role a { color: var(--accent); text-decoration: none; }

/* Page hero (subpages) */
.page-hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; }
.page-hero p { color: var(--ink-light); margin-top: 12px; max-width: 580px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer h4 { margin-bottom: 14px; font-size: 1rem; }
footer p { color: var(--ink-light); font-size: 0.92rem; }
footer a { color: var(--ink-light); text-decoration: none; display: block; margin-bottom: 9px; font-size: 0.93rem; transition: color 0.15s; }
footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size: 0.85rem; text-align: center; color: var(--ink-light); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits, .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .trust-photo { max-width: 440px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 22px 24px; gap: 16px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .steps, .benefits, .cards, .footer-grid { grid-template-columns: 1fr; }
  .btn-soft { margin-left: 0; margin-top: 12px; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 1.95rem; }
  section { padding: 60px 0; }
  .quote-card { padding: 32px 24px; }
  .cta-inner { padding: 52px 24px; }
}
