/* =========================================================
   PROF IT — Shared styles
   ========================================================= */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --navy-900: #0e2240;
  --navy-700: #16315a;
  --navy-500: #2a4774;
  --slate-500: #5a6b85;
  --slate-300: #b6c2d4;
  --blue-700: #1750c2;
  --blue-600: #1e62e6;
  --blue-500: #2f7bff;
  --blue-400: #5a9bff;
  --blue-100: #dbe8ff;
  --white: #ffffff;

  --card-bg: linear-gradient(160deg, #d6e6fb 0%, #e8f1fd 50%, #dceafd 100%);
  --page-bg:
    radial-gradient(900px 600px at 0% 100%, #e6efff 0%, transparent 60%),
    radial-gradient(900px 600px at 100% 0%, #eaf2ff 0%, transparent 60%),
    linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);

  --shadow-card: 0 30px 80px rgba(20,45,82,0.14), 0 8px 24px rgba(20,45,82,0.06);
  --shadow-pkg: 0 10px 24px rgba(20,45,82,0.08), 0 1px 3px rgba(20,45,82,0.04);
  --shadow-pkg-hover: 0 30px 60px rgba(47,123,255,0.22), 0 8px 20px rgba(20,45,82,0.10);

  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--navy-900);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding: 32px 20px;
}
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Layout container ---------- */
.shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------- Card (used as top section on every page) ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 32px 44px 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.card::before, .card::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); pointer-events: none; z-index: 0;
}
.card::before { width: 380px; height: 380px; background: rgba(120,170,255,0.30); top: -120px; right: -100px; }
.card::after  { width: 320px; height: 320px; background: rgba(180,210,255,0.35); bottom: -120px; left: -80px; }

/* ---------- Header ---------- */
.header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.logo-link { display: inline-flex; align-items: center; }
.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  transition: color 200ms var(--ease);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue-500); }
.nav-links a.active { color: var(--blue-500); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--blue-500); border-radius: 2px;
}
.nav-links a.ext::after {
  content: " ↗";
  font-size: 10px;
  vertical-align: super;
  color: var(--blue-500);
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 16px;
}

.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue-500);
  background: rgba(47,123,255,0.10);
  padding: 8px 14px; border-radius: 999px; width: fit-content;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 0 rgba(47,123,255,0.5);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,123,255,0.5); }
  100% { box-shadow: 0 0 0 12px rgba(47,123,255,0); }
}

.h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}
.h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-500) 0%, #6aa9ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead {
  font-size: 16px; line-height: 1.55; color: var(--slate-500); max-width: 480px;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 999px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.btn-primary {
  background: linear-gradient(180deg, var(--blue-500) 0%, var(--blue-600) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47,123,255,0.30);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(47,123,255,0.38); }
.btn-ghost {
  background: rgba(255,255,255,0.7);
  color: var(--navy-900);
  border: 1px solid rgba(180,205,240,0.7);
}
.btn-ghost:hover { background: #fff; border-color: var(--blue-500); color: var(--blue-500); }

/* ---------- Devices ---------- */
.devices-wrap { position: relative; height: 460px; }
.devices { position: absolute; inset: 0; }
.devices::before {
  content: ""; position: absolute;
  inset: 15% 5% 5% 5%;
  background: radial-gradient(closest-side, rgba(110,165,255,0.30), transparent 70%);
  filter: blur(20px); z-index: 0;
}
.device {
  position: absolute; border-radius: 14px;
  background: #0a1224; overflow: hidden;
  box-shadow: 0 30px 60px rgba(20,45,82,0.22), 0 8px 22px rgba(20,45,82,0.10);
}
.device img { width: 100%; height: 100%; object-fit: cover; }
.screen-glow { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 30%); pointer-events: none; }

.device.tv {
  width: 78%; height: 60%; top: 14%; left: 11%;
  border: 6px solid #0e1a2e; border-radius: 10px; z-index: 1;
}
.device.tv::after {
  content: ""; position: absolute;
  width: 22%; height: 18px; bottom: -22px; left: 39%;
  background: linear-gradient(180deg, #1a2540, #0c1426);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 14px rgba(20,45,82,0.15);
}
.device.phone {
  width: 17%; height: 46%; bottom: 6%; left: 6%;
  border: 5px solid #0a121f; border-radius: 22px;
  z-index: 3; transform: rotate(-4deg);
}
.device.tablet {
  width: 36%; height: 50%; bottom: 4%; right: 4%;
  border: 6px solid #0e1726; border-radius: 18px;
  z-index: 3; transform: rotate(5deg);
}
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes floatB { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-9px) rotate(-4deg)} }
@keyframes floatC { 0%,100%{transform:translateY(0) rotate(5deg)} 50%{transform:translateY(-11px) rotate(5deg)} }
.device.tv     { animation: floatA 7s ease-in-out infinite; }
.device.phone  { animation: floatB 5.5s ease-in-out infinite; }
.device.tablet { animation: floatC 6.5s ease-in-out infinite; }

/* ---------- Section block (after the card) ---------- */
.section {
  margin-top: 56px;
  padding: 0 12px;
}
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-head .kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--navy-900);
}
.section-head p {
  font-size: 15px; color: var(--slate-500);
  max-width: 600px; margin: 12px auto 0;
}

/* ---------- Plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
  padding: 14px;
  isolation: isolate;
}
.plan {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(180,205,240,0.6);
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: var(--shadow-pkg);
  transform: scale(1);
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease), border-color 450ms var(--ease);
  will-change: transform;
}
.plan:hover {
  transform: scale(1.06);
  box-shadow: var(--shadow-pkg-hover);
  border-color: rgba(47,123,255,0.35);
  z-index: 5;
}
.plan.featured {
  background: linear-gradient(180deg, #ffffff 0%, #e8f1ff 100%);
  border-color: rgba(47,123,255,0.4);
}
.plan-badge {
  position: absolute; top: -12px; left: 24px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(47,123,255,0.30);
}
.plan-name {
  font-size: 14px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--blue-500);
  margin-bottom: 12px;
}
.plan-speed {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--navy-900); line-height: 1;
}
.plan-speed .unit { font-size: 0.5em; color: var(--slate-500); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.plan-tv {
  font-size: 14px; color: var(--navy-700);
  margin-top: 10px; display: flex; align-items: center; gap: 8px;
}
.plan-tv svg { width: 16px; height: 16px; color: var(--blue-500); flex: 0 0 16px; }

.plan-features {
  list-style: none;
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-features li {
  font-size: 14px; color: var(--navy-700);
  display: flex; align-items: flex-start; gap: 10px;
}
.plan-features svg { width: 16px; height: 16px; color: var(--blue-500); flex: 0 0 16px; margin-top: 2px; }

.plan-price {
  margin-top: 24px;
  display: flex; align-items: baseline; gap: 6px;
}
.plan-price .amount {
  font-size: 36px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--navy-900);
}
.plan-price .currency { font-size: 16px; font-weight: 700; color: var(--blue-500); }
.plan-price .per { font-size: 13px; color: var(--slate-500); margin-left: 6px; }

.plan .btn { width: 100%; justify-content: center; margin-top: 18px; }

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
}
.feature {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20,45,82,0.10);
}
.feature .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(47,123,255,0.25);
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 16px; font-weight: 700;
  color: var(--navy-900); margin-bottom: 6px;
}
.feature p { font-size: 13.5px; line-height: 1.55; color: var(--slate-500); }

/* ---------- Contact block ---------- */
.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(180,205,240,0.6);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-pkg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-card h3 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 14px;
}
.contact-card .row {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px;
}
.contact-card .row svg { width: 20px; height: 20px; color: var(--blue-500); flex: 0 0 20px; margin-top: 2px; }
.contact-card .row strong { display: block; color: var(--navy-900); font-size: 14px; margin-bottom: 2px; }
.contact-card .row span, .contact-card .row a {
  font-size: 14px; color: var(--slate-500); line-height: 1.5;
}
.contact-card a:hover { color: var(--blue-500); }

/* ---------- Article (security page) ---------- */
.article {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}
.article h1 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--navy-900); margin-bottom: 8px;
}
.article .article-sub {
  font-size: 14px; color: var(--blue-500);
  font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; margin-bottom: 24px;
}
.article p {
  font-size: 16px; line-height: 1.65;
  color: var(--navy-700); margin-bottom: 18px;
}
.article h2 {
  font-size: 22px; font-weight: 700;
  color: var(--navy-900); margin: 32px 0 14px;
  letter-spacing: -0.01em;
}
.article ul {
  margin: 14px 0 18px 4px;
  list-style: none;
}
.article ul li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px; color: var(--navy-700);
  line-height: 1.6; margin-bottom: 10px;
}
.article ul li::before {
  content: ""; position: absolute;
  left: 0; top: 10px; width: 8px; height: 8px;
  background: var(--blue-500); border-radius: 50%;
}
.article a { color: var(--blue-500); font-weight: 600; }
.article a:hover { text-decoration: underline; }
.article .callout {
  background: linear-gradient(135deg, #eaf2ff, #f6faff);
  border-left: 4px solid var(--blue-500);
  padding: 18px 22px; border-radius: 12px;
  margin: 24px 0;
  font-size: 15px; color: var(--navy-700);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 56px;
  padding: 32px 24px 12px;
  text-align: center;
  color: var(--slate-500);
  font-size: 13px;
}
.footer .sep { margin: 0 10px; opacity: 0.5; }
.footer a:hover { color: var(--blue-500); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .card { padding: 24px 24px 32px; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .devices-wrap { height: 360px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .article { padding: 32px 24px; }
  .nav-links { gap: 16px; }
}
@media (max-width: 640px) {
  body { padding: 16px 12px; }
  .card { padding: 20px 18px 26px; border-radius: 24px; }
  .header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .logo-img { height: 44px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.06em; }
  .plans { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .devices-wrap { height: 280px; }
  .plan:hover { transform: scale(1.02); }
  .article { padding: 24px 18px; }
}
