:root {
  /* Premium background */
  --bg: radial-gradient(1200px 600px at 20% 10%, rgba(168, 85, 247, .22), transparent 60%),
        radial-gradient(900px 520px at 80% 20%, rgba(59, 130, 246, .20), transparent 62%),
        radial-gradient(900px 520px at 30% 85%, rgba(34, 211, 238, .14), transparent 60%),
        radial-gradient(900px 520px at 90% 85%, rgba(255, 255, 255, .65), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f4f6ff 45%, #f7f8ff 100%);

  --dark: #0b1020;
  --glass: rgba(255, 255, 255, .72);
  --border: rgba(2, 6, 23, .10);

  /* Blue/Purple gradient */
  --grad: linear-gradient(135deg,
    #a855f7,
    #6d5efc,
    #3b82f6,
    #22d3ee
  );
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

/* Premium grain (optional) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ===== BLOBS ===== */
.blob {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.blob.purple { background: rgba(168, 85, 247, .85); top: -240px; left: -220px; }
.blob.blue   { background: rgba(59, 130, 246, .75); top: -240px; right: -240px; }
.blob.cyan   { background: rgba(34, 211, 238, .60); bottom: -260px; left: -220px; }
.blob.white  { background: rgba(255, 255, 255, .85); bottom: -260px; right: -220px; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
}

.bar {
  max-width: 1180px;
  margin: auto;
  padding: 14px 18px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, .10);
  position: relative;
}

.bar::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -14px;
  height: 18px;
  background: var(--grad);
  filter: blur(22px);
  opacity: .55;
  border-radius: 50px;
}

.container {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ===== BRAND ===== */
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  text-decoration: none;
  color: var(--dark);
  white-space: nowrap;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: contain;
  background: transparent;
}

/* ===== NAV ===== */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark);
  transition: .15s ease;
}

.nav a:hover {
  background: rgba(2, 6, 23, .06);
}

.cta {
  background: var(--grad);
  color: #0b1020;
}

/* SOCIAL LINKS (icons) */
.socials{
  display:flex;
  gap:10px;
  margin-left:10px;
  align-items:center;
}

.social-link{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:14px;
  text-decoration:none;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(2,6,23,.10);
  transition: .15s ease;
}

.social-link:hover{
  background: rgba(255,255,255,.78);
  border-color: rgba(59,130,246,.22);
  transform: translateY(-1px);
}

.social-ico{
  width:18px;
  height:18px;
  display:block;
  opacity:.9;
}

.social-link:hover .social-ico{
  opacity:1;
}

/* ===== BURGER ===== */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: none;
  background: rgba(2, 6, 23, .08);
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: #0b1020;
  margin: 6px;
}

/* ===== CONTENT ===== */
main {
  max-width: 1180px;
  margin: 80px auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.card {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 22px 48px rgba(2, 6, 23, .12);
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-right img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(2, 6, 23, .18));
}

/* ===== FOR WHO ===== */
.for-who-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.for-who-image img {
  width: 100%;
  max-width: 420px;
  display: block;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, .25));
}

/* ===== SERVICES (APP STYLE) ===== */
.app-services {
  padding: 52px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(2, 6, 23, .08);
  border-radius: 28px;
}

.app-title {
  margin: 0 0 14px;
  font-size: 32px;
  letter-spacing: -0.02em;
}

.app-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.app-item {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 22px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(2, 6, 23, .06);
  transition: .18s ease;
}

.app-item:hover {
  background: rgba(255, 255, 255, .75);
  border-color: rgba(59, 130, 246, .18);
}

.app-line {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(168, 85, 247, .9), rgba(59, 130, 246, .9));
}

.app-content h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.app-content p {
  margin: 0;
  max-width: 760px;
  line-height: 1.7;
  opacity: .88;
}

/* ===== PROCESS (air + line accent) ===== */
.process-card {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(2, 6, 23, .07);
  box-shadow: none;
}

.process-step {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .40);
  border: 1px solid rgba(2, 6, 23, .08);
  box-shadow: none;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(168, 85, 247, .85), rgba(59, 130, 246, .85));
  opacity: .65;
}

.process-step > * { padding-left: 14px; }

.process-kicker {
  letter-spacing: -.01em;
  font-weight: 850;
  opacity: .85;
}

.process-text {
  opacity: .88;
  line-height: 1.75;
}

/* ===== DIFF2 (app background with blocks) ===== */
.diff2-card {
  background: rgba(255, 255, 255, .65);
  border: 1px solid rgba(2, 6, 23, .06);
  backdrop-filter: blur(8px);
}

.diff2-note {
  margin: 0;
  max-width: 860px;
  line-height: 1.75;
  opacity: .9;
}

.diff2-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.diff2-row {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(2, 6, 23, .06);
  transition: .2s ease;
}

.diff2-row:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, .25);
}

.diff2-ic {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a855f7, #6366f1, #3b82f6);
  opacity: .9;
}

.diff2-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.diff2-desc {
  margin: 0;
  line-height: 1.65;
  opacity: .88;
  max-width: 820px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(3px);
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ===== PACKAGES ===== */
.packages-card {
  position: relative;
  overflow: hidden;
}

.packages-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2, 6, 23, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 6, 23, .06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .14;
  pointer-events: none;
}

.packages-head,
.packages-grid,
.packages-bottom-cta {
  position: relative;
  z-index: 1;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 22px;
  border: 1px solid rgba(2, 6, 23, .10);
  background: rgba(255, 255, 255, .55);
  padding: 18px 18px 16px;
  overflow: hidden;
  transition: .16s ease;
}

.pack::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a855f7, #3b82f6);
  opacity: .75;
}

.pack:hover {
  border-color: rgba(59, 130, 246, .22);
  transform: translateY(-1px);
}

.pack-top {
  padding-left: 10px;
  margin-bottom: 12px;
}

.pack-name {
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 18px;
  margin: 0 0 4px;
}

.pack-meta {
  font-size: 13px;
  min-height: 50px;
  font-weight: 750;
  opacity: .75;
}

.pack-body {
  padding-left: 10px;
  flex: 1;
}

/* Make all bodies align better */
.pack-desc {
  margin: 0 0 12px;
  line-height: 1.7;
  opacity: .88;
  min-height: 150px;
}

.pack-body strong { font-weight: 900; }

.pack-list {
  margin: 8px 0 0;
  padding-left: 18px;
  line-height: 1.9;
  opacity: .90;
}

.pack-list li { margin: 0 0 6px; }

.pack-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(2, 6, 23, .08);
}

.pack-price {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  opacity: .9;
}

.featured-price {
  font-size: 20px;
  font-weight: 800;
}

.pack-featured {
  border-color: rgba(59, 130, 246, .22);
}

.pack-featured::before { opacity: 1; }

.pack-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, .10);
  background: rgba(255, 255, 255, .75);
  font-weight: 900;
  font-size: 12px;
  opacity: .92;
  z-index: 2;
}

.packages-bottom-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 26px;
  border-radius: 16px;
  font-weight: 950;
  background: var(--grad);
  color: #0b1020;
  text-decoration: none;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.pf-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(2, 6, 23, .10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .35)),
    repeating-linear-gradient(
      90deg,
      rgba(59, 130, 246, .07) 0px,
      rgba(59, 130, 246, .07) 46px,
      rgba(168, 85, 247, .06) 46px,
      rgba(168, 85, 247, .06) 92px
    );
  transition: transform .18s ease, border-color .18s ease;
}

.pf-item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: 14px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a855f7, #3b82f6, #22d3ee);
  opacity: .85;
}

.pf-thumb {
  margin: 0;
  padding: 14px 14px 0 26px;
}

.pf-thumb img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(2, 6, 23, .10);
  background: #fff;
  display: block;
}

.pf-meta {
  padding: 14px 16px 16px 26px;
}

.pf-title {
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 18px;
}

.pf-desc {
  margin: 0;
  line-height: 1.65;
  opacity: .88;
  font-size: 14.5px;
}

.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(2, 6, 23, .10);
  background: rgba(255, 255, 255, .55);
  font-weight: 800;
  font-size: 12.5px;
  opacity: .92;
}

.pf-item:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, .22);
}

.pf-item:hover .pf-thumb img {
  border-color: rgba(59, 130, 246, .25);
}

  .page-title{
  margin: 0 0 11px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-title span{
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transpar
}

/* ===== SUBSCRIPTION PACKAGES TWEAK (optional) ===== */
.packages-card--sub::before{
  opacity: .10; /* леко по-малко grid */
}
