/*
Theme Name: CyLink Marketing
Theme URI: https://rit.co.il/
Author: RIT
Author URI: https://rit.co.il/
Description: A focused marketing and blog theme for CyLink products.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cylink-marketing
*/

:root {
  --ink: #101828;
  --muted: #596579;
  --line: #d8dee8;
  --panel: #f6f8fb;
  --blue: #0b5fff;
  --blue-dark: #073a91;
  --cyan: #14b8c8;
  --green: #14a06f;
  --yellow: #f5b82e;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #243044;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.hero {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 48%, rgba(255, 255, 255, 0.08) 100%),
    url("assets/secure-connectivity.png") right center / auto 100% no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.hero-copy {
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 82px);
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
}

h3 {
  font-size: 24px;
}

p {
  margin: 0;
}

.lead {
  margin-top: 22px;
  color: #334155;
  font-size: clamp(19px, 2.2vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--panel);
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 19px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card h3 {
  margin-bottom: 12px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.product:first-of-type {
  border-top: 0;
}

.product-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf0f8;
}

.product-media img {
  width: 100%;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #243044;
  font-size: 13px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  padding: 18px;
  border-left: 4px solid var(--blue);
  background: var(--white);
}

.feature strong {
  display: block;
  margin-bottom: 4px;
}

.feature span {
  color: var(--muted);
}

.cta {
  padding: 58px;
  border-radius: 8px;
  background: #101828;
  color: var(--white);
}

.cta p {
  max-width: 760px;
  margin-top: 16px;
  color: #d9e2ef;
  font-size: 19px;
}

.cta .button {
  margin-top: 26px;
  background: var(--cyan);
  color: #06202b;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.content-page {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  padding: 64px 0;
}

.post-list {
  display: grid;
  gap: 22px;
}

.post-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.post-card h2 {
  margin-bottom: 10px;
  font-size: 30px;
}

.post-card a {
  text-decoration: none;
}

.entry-content {
  margin-top: 26px;
}

.entry-content p,
.entry-content li {
  color: #334155;
  font-size: 18px;
}

.entry-content p + p,
.entry-content ul,
.entry-content ol {
  margin-top: 18px;
}

@media (max-width: 880px) {
  .nav-wrap {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0.72) 100%),
      url("assets/secure-connectivity.png") center bottom / 120% auto no-repeat;
  }

  .hero-inner {
    min-height: 720px;
    align-items: start;
    padding-top: 54px;
  }

  .grid,
  .product,
  .split {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 34px 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
