/* =====================================================
   VIO.KG — Main Stylesheet
   ===================================================== */

/* ===== VARIABLES ===== */
:root {
  --font-default: "Open Sans", system-ui, -apple-system, sans-serif;
  --font-primary: "Inter", sans-serif;

  --color-default:       #1e293b;
  --color-primary:       #1a56db;
  --color-primary-light: #60a5fa;
  --color-primary-rgb:   26, 86, 219;
  --color-primary-dark:  #1e3a5f;
  --color-secondary:     #0f172a;
  --color-accent:        #6366f1;
  --color-accent-rgb:    99, 102, 241;
  --color-surface:       #f8faff;
  --color-muted:         #64748b;

  --grad-hero:        linear-gradient(135deg, #0f172a 0%, #1a3a6e 55%, #1e40af 100%);
  --grad-section-alt: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
  --grad-card:        linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,245,255,0.7));
  --grad-pricing:     linear-gradient(135deg, #1e3a5f 0%, #1a56db 100%);

  scroll-behavior: smooth;
}

/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: hidden; }

body {
  font-family: var(--font-default);
  font-size: 16px;
  color: var(--color-default);
  background: #ffffff;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); }
h5 { color: var(--color-primary); }
ul { margin: 0; padding: 0; }

a { color: #add5fa; text-decoration: none; }
a:hover { color: var(--color-primary-light); }

.btn { transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }

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

/* ===== KEYFRAMES ===== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes up-down {
  0%   { transform: translateY(10px); }
  100% { transform: translateY(-10px); }
}
@keyframes move-forever1 {
  0%   { transform: translate(85px, 0%); }
  100% { transform: translate(-90px, 0%); }
}
@keyframes move-forever2 {
  0%   { transform: translate(-90px, 0%); }
  100% { transform: translate(85px, 0%); }
}
@keyframes move-forever3 {
  0%   { transform: translate(-90px, 0%); }
  100% { transform: translate(85px, 0%); }
}
@keyframes lineincrease {
  0%   { height: 0%; }
  100% { height: 100%; }
}
@keyframes linemove {
  0%   { transform: translateY(200%); }
  100% { transform: translateY(-100%); }
}
@keyframes preloaderfinish {
  0%   { width: 50%; }
  100% { width: 0%; }
}
@keyframes glow-in {
  from { opacity: 0; }
  65%  { opacity: 1; text-shadow: 0 0 25px rgba(255,255,255,0.8); }
  75%  { opacity: 0.6; }
  to   { opacity: 1; }
}

/* ===== PRELOADER ===== */
#preloader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99999;
}
#preloader::before,
#preloader::after {
  content: "";
  background-color: var(--color-primary-dark);
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  transition: all 0.3s ease;
  z-index: -1;
}
#preloader::after { left: auto; right: 0; }
#preloader .line {
  position: relative;
  overflow: hidden;
  margin: auto;
  width: 1px;
  height: 280px;
  transition: all 0.8s ease;
}
#preloader .line::before {
  content: "";
  position: absolute;
  background: #fff;
  left: 0; top: 50%;
  width: 1px; height: 0%;
  transform: translateY(-50%);
  animation: lineincrease 1000ms ease-in-out forwards;
}
#preloader .line::after {
  content: "";
  position: absolute;
  background: #999;
  left: 0; top: 0;
  width: 1px; height: 100%;
  transform: translateY(-100%);
  animation: linemove 1200ms linear infinite;
  animation-delay: 2000ms;
}
#preloader.loaded .line            { opacity: 0; height: 100% !important; }
#preloader.loaded .line::after     { opacity: 0; }
#preloader.loaded::before,
#preloader.loaded::after           { animation: preloaderfinish 300ms ease-in-out 500ms forwards; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  z-index: 9998;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}
.header.header-scrolled {
  height: 52px;
  background: rgba(15, 23, 42, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.header .container,
.header .container-fluid {
  display: flex;
  align-items: center;
  width: 100%;
}
.header .logo {
  display: flex;
  align-items: center;
  margin-right: 8px;
}
.header .logo img {
  max-height: 32px;
  filter: brightness(2);
}
.page_title {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-primary);
  color: white;
  letter-spacing: 0.5px;
  margin: 0;
  flex: 1;
}
.page_title a       { color: white; }
.page_title a:hover { color: var(--color-primary-light); }

/* ===== NAVBAR ===== */
#navbar { margin: 0 6px; }

.navbar ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
  gap: 4px;
}
.navbar li {
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}
.navbar li:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}
.navbar .admin-link           { padding: 4px 10px; border: none; background: transparent; }
.navbar .admin-link:hover     { background: transparent; border: none; }
.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  padding: 4px 2px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.4px;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.navbar a:hover,
.navbar li:hover > a { color: white; }

/* ===== MOBILE NAV ===== */
.mobile-nav-toggle {
  display: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 22px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 5px 8px;
  line-height: 1;
  transition: all 0.25s ease;
  background: transparent;
}
.mobile-nav-toggle:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 879px) {
  .mobile-nav-toggle { display: block; }

  .navbar {
    position: fixed;
    top: 0; right: -100%;
    width: 75vw; max-width: 300px;
    height: 100dvh;
    transition: right 0.3s ease;
    z-index: 9997;
  }
  .navbar ul {
    flex-direction: column;
    position: absolute;
    inset: 0;
    padding: 80px 12px 24px;
    background: rgba(10, 18, 36, 0.98);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    gap: 6px;
    align-items: stretch;
  }
  .navbar li {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 0 8px;
  }
  .navbar a,
  .navbar a:focus {
    padding: 10px 12px;
    font-size: 13px;
    justify-content: flex-start;
  }
  .mobile-nav-active .navbar { right: 0; }
  .mobile-nav-active .navbar::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  .mobile-nav-hide { display: none; }
  .mobile-nav-active .mobile-nav-show { display: none; }
  .mobile-nav-active .mobile-nav-hide { display: block !important; }
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px; bottom: 20px;
  z-index: 9999;
  background: var(--grad-pricing);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  transition: all 0.35s ease;
}
.scroll-top.active  { visibility: visible; opacity: 1; }
.scroll-top:hover   { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(99,102,241,0.5); color: white; }

/* ===== UTILITIES ===== */
.container { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }

.section-title h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.3px;
  position: relative;
}
.section-title h2::before,
.section-title h2::after {
  content: "";
  width: 50px; height: 2px;
  background: var(--grad-pricing);
  display: inline-block;
}
.section-title h2::before { margin: 0 15px 10px 0; }
.section-title h2::after  { margin: 0 0 10px 15px; }

.horizont-line { margin: 0; border-color: rgba(99, 102, 241, 0.15); }

/* ===== HERO ===== */
#hero1 {
  width: 100%;
  position: relative;
  padding: 160px 0 0 0;
  overflow: hidden;
}
#hero1::before {
  content: "";
  background: var(--grad-hero);
  position: absolute;
  inset: 0;
  z-index: 0;
}
#hero1::after {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#hero1 .container,
#hero1 .hero-waves { position: relative; z-index: 1; }

#hero1 h1 {
  margin: 0 0 16px 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.95);
}
#hero1 h2 {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 400;
}
#hero1 a.btn {
  font-size: 1.4em;
  padding: 8px 18px;
  margin: 6px 10px 0 0;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
  border-radius: 50px !important;
  color: white !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
#hero1 a.btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: white !important;
}
#hero1 .hero-img img {
  width: 100%;
}
#hero1 .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* glowIn */
.glowIn             { color: rgba(255, 255, 255, 0.95); }
.glowIn span        { animation: glow-in 0.8s both; }

/* News ticker */
.news-ticker {
  position: relative;
  width: 100%;
  height: 46px;
  margin-top: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 400;
  line-height: 46px;
  text-align: center;
  letter-spacing: 1px;
  text-transform: capitalize;
  padding: 0 16px;
}
.news-item {
  color: rgba(200, 220, 255, 0.9);
  position: absolute;
  width: 100%; left: 0; top: 0;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}
.news-item.active { transform: translateX(0); opacity: 1; }
.news-item.exit   { transform: translateX(-100%); opacity: 0; }

/* Hero waves */
.hero-waves {
  display: block;
  margin-top: 120px;
  width: 100%;
  height: 50px;
  position: relative;
  z-index: 5;
}
.wave1 use { animation: move-forever1 10s linear infinite; animation-delay: -2s; }
.wave2 use { animation: move-forever2 8s  linear infinite; animation-delay: -2s; }
.wave3 use { animation: move-forever3 6s  linear infinite; animation-delay: -2s; }

@media (max-width: 991px) {
  #hero1              { padding-top: 100px; }
  #hero1 .hero-img    { text-align: center; }
  #hero1 .hero-img img{ max-width: 50%; width: auto; }
  #hero1 .animated    { animation: none; }
  .hero-waves         { margin-top: 60px; }
}
@media (max-width: 575px) {
  #hero1              { padding-top: 86px; }
  #hero1 .hero-img img{ max-width: 70%; }
  .hero-waves         { margin-top: 40px; }
}

/* ===== "ЧТО ВЫ ПОЛУЧИТЕ" ===== */
#feature_pros {
  position: relative;
  min-height: 100vh;
  padding: 80px 0 70px;
  overflow: hidden;
  background: #f5f7ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#fp-vanta {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fp-container { position: relative; z-index: 1; }
#feature_pros .section-title { margin-bottom: 28px; }

/* --- Accordion --- */
.fp-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fp-acc-item {
  border-radius: 16px;
  border: 1.5px solid rgba(99, 102, 241, 0.13);
  background: rgb(230 233 245);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: default;
}
.fp-acc-item.active {
  border-color: rgba(26, 86, 219, 0.38);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 36px rgba(26, 86, 219, 0.13);
}

.fp-acc-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  user-select: none;
}

.fp-acc-ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
.fp-acc-item.active .fp-acc-ic {
  background: var(--grad-pricing);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
}

.fp-acc-hd > span {
  flex: 1;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-dark);
  transition: color 0.3s ease;
}
.fp-acc-item.active .fp-acc-hd > span { color: var(--color-primary); }

.fp-arrow {
  font-size: 20px;
  color: var(--color-muted);
  flex-shrink: 0;
  display: inline-block;
  transition: color 0.3s ease;
}
.fp-acc-item.active .fp-arrow { color: var(--color-primary); }

/* Body controlled by GSAP */
.fp-acc-body { height: 0; overflow: hidden; }
.fp-acc-item.active .fp-acc-body { height: auto; overflow: visible; }

.fp-acc-inner {
  padding: 0 20px 18px 76px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fp-acc-entry h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 5px;
}
.fp-acc-entry p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
  margin: 0;
}

/* --- Image scene (right column) --- */
.fp-img-scene {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.fp-img-tilt {
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(26, 86, 219, 0.15),
    0 32px 64px rgba(26, 86, 219, 0.18);
  transform-style: preserve-3d;
  will-change: transform;
}

.fp-img-link {
  display: block;
  position: relative;
  text-decoration: none;
}
.fp-img-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}
.fp-img-overlay {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: rgba(3, 11, 40, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(1px);
}
.fp-img-overlay span {
  color: white;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
}
.fp-img-tilt:hover .fp-img-overlay { opacity: 1; }

/* Pulsing decorative rings */
.fp-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.fp-ring-1 {
  width: 108%; height: 108%;
  border-color: rgba(99, 102, 241, 0.18);
  animation: fpRingPulse 3.5s ease-in-out infinite;
}
.fp-ring-2 {
  width: 121%; height: 121%;
  border-color: rgba(26, 86, 219, 0.1);
  animation: fpRingPulse 3.5s ease-in-out 0.9s infinite;
}
.fp-ring-3 {
  width: 136%; height: 136%;
  border-color: rgba(99, 102, 241, 0.06);
  animation: fpRingPulse 3.5s ease-in-out 1.8s infinite;
}
@keyframes fpRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 1;   }
  50%        { transform: translate(-50%, -50%) scale(1.05); opacity: 0.5; }
}

@media (max-width: 768px) {
  #feature_pros { padding: 50px 0 40px; }
  .fp-acc-inner { padding-left: 20px; }
  .fp-img-scene { max-width: 340px; }
  .fp-ring { display: none; }
}

/* ===== FEATURES (виды сайтов) ===== */
#features        { background: var(--grad-section-alt); padding: 60px 0; overflow: hidden; }
#featuresLending { background: #ffffff;                 padding: 60px 0; overflow: hidden; }
#featuresTaplink { background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%); padding: 60px 0; overflow: hidden; }

.features .section-title  { padding-bottom: 40px; }
.features .content {
  position: relative;
  padding: 60px 10px;
  border-radius: 10px;
}
.features .content ul         { list-style: none; padding: 0; }
.features .content ul i       { font-size: 20px; padding-right: 6px; color: var(--color-accent); }
.features .card-text          { color: #6d6d6d; }

.features .card {
  font-size: 1rem;
  padding: 28px;
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 20px;
  background: var(--grad-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(26, 86, 219, 0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.features .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(26, 86, 219, 0.15);
}
.features .card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}
.features .card h5 { color: var(--color-primary); }
.features .card li {
  list-style: none;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  padding: 6px 0;
  color: #555;
}
.features .card-wr {
  border-radius: 22px;
  padding: 8px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  background: rgba(240, 244, 255, 0.4);
}
.features .card-wr .card { background: none; }

.feat-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.feat-label--teal {
  color: #0d9488;
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.2);
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  line-height: 1.3;
}
.feat-item--teal {
  background: rgba(13, 148, 136, 0.06);
  border-color: rgba(13, 148, 136, 0.15);
}
.feat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.feat-item--teal .feat-icon {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
}

@media (max-width: 400px) {
  .feat-grid { grid-template-columns: 1fr; }
}
.features .img-col       { padding: 6px 0; }
.features .content img   { transition: 0.5s; max-width: 100%; }

.btn-group a {
  margin: 4px;
  min-width: 80px;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.2);
}
.btn-group a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 86, 219, 0.3);
}

/* Image shimmer sweep */
@keyframes shimmer-sweep {
  0%   { transform: translateX(-180%) skewX(-12deg); opacity: 1; }
  25%  { transform: translateX(180%)  skewX(-12deg); opacity: 1; }
  26%, 100% { transform: translateX(180%) skewX(-12deg); opacity: 0; }
}

.features .img-col {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.features .img-col::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 70%
  );
  animation: shimmer-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

@media (max-width: 992px) {
  .features .card-text,
  .features .card ul { font-size: 0.9em; }
}
@media (max-width: 575px) {
  .features .content              { padding: 20px 10px; }
  .features .content p,
  .features .content ul           { font-size: 0.9em; }
  .features .section-title        { padding-bottom: 16px; }
}

/* ===== SERVICES ===== */
#services {
  padding: 70px 0 80px;
  background: var(--grad-section-alt);
}
.svc-card {
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.13);
  border-color: rgba(99, 102, 241, 0.25);
}
.svc-card--highlight {
  border-color: rgba(13, 148, 136, 0.3);
  background: linear-gradient(145deg, #fff 60%, rgba(13,148,136,0.04) 100%);
}
.svc-card--highlight:hover {
  box-shadow: 0 16px 40px rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.4);
}
.svc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.svc-card--highlight .svc-icon {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}
.svc-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}
.svc-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ===== PRICING ===== */
#pricing {
  padding: 80px 0 90px;
  background: #f2f4f8;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#pricing .section-title           { margin-bottom: 10px; position: relative; }
#pricing .section-title h2        { color: #0f172a; }
#pricing .section-title h2::before,
#pricing .section-title h2::after  { background: rgba(15,23,42,0.25); }

.pc3-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 52px;
}

/* Cards row — bottom-align so featured card extends higher */
#pricing .row { align-items: flex-end; }

/* ---- Base card ---- */
.pc3 {
  position: relative;
  border-radius: 20px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #e5e9f0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pc3:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* ---- Featured (dark) card ---- */
.pc3--featured {
  background: #111118;
  border-color: transparent;
  padding-top: 60px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.26);
  color: #fff;
}
.pc3--featured:hover {
  box-shadow: 0 32px 80px rgba(0,0,0,0.34);
  transform: translateY(-6px);
}

/* "Popular" badge inside featured card */
.pc3-pop-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}

/* Plan name */
.pc3-plan-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px;
  line-height: 1.2;
}
.pc3--featured .pc3-plan-name { color: #fff; }

/* Price */
.pc3-price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 14px;
  min-height: 76px;
}
.pc3-amount {
  font-size: 64px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -3px;
}
.pc3--featured .pc3-amount { color: #fff; }

.pc3-price-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: flex-end;
  padding-bottom: 8px;
}
.pc3-currency { font-size: 15px; font-weight: 600; color: #475569; line-height: 1.3; }
.pc3-period   { font-size: 12px; color: #94a3b8; }
.pc3--featured .pc3-currency { color: rgba(255,255,255,0.6); }
.pc3--featured .pc3-period   { color: rgba(255,255,255,0.35); }

/* Custom price (Enterprise) */
.pc3-price-custom { align-items: center; }
.pc3-custom-text {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -1px;
}

/* Tagline */
.pc3-tagline {
  font-size: 13px;
  line-height: 1.65;
  color: #64748b;
  margin: 0 0 22px;
}
.pc3--featured .pc3-tagline { color: rgba(255,255,255,0.48); }

/* Feature list */
.pc3-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pc3-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #374151;
}
.pc3-features li i              { font-size: 12px; color: #374151; flex-shrink: 0; }
.pc3--featured .pc3-features li { color: rgba(255,255,255,0.82); }
.pc3--featured .pc3-features li i { color: rgba(255,255,255,0.75); }

/* Buttons */
.pc3-btn {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: 1.5px solid #d1d5db;
  color: #374151;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}
.pc3-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

.pc3-btn--featured {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(20,184,166,0.28);
}
.pc3-btn--featured:hover {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 8px 28px rgba(20,184,166,0.4);
  color: #fff;
  transform: translateY(-2px);
}

.pc3-btn--enterprise {
  border-color: #d1d5db;
  color: #374151;
}
.pc3-btn--enterprise:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.horizont-line { border-color: rgba(0,0,0,0.08); }

@media (max-width: 767px) {
  #pricing                       { padding: 50px 0 60px; }
  #pricing .section-title        { margin-bottom: 8px; }
  .pc3-subtitle                  { margin-bottom: 32px; }
  .pc3                           { padding: 26px 22px; }
  .pc3--featured                 { padding-top: 48px; }
  .pc3-amount                    { font-size: 52px; }
  .pc3-custom-text               { font-size: 26px; }
  #pricing .row                  { align-items: stretch; }
}
@media (max-width: 480px) {
  .pc3-amount                    { font-size: 44px; }
}

/* ===== CONTACTS SECTION ===== */
#contacts {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #eef2ff 0%, #f8faff 100%);
  position: relative;
  overflow: hidden;
}
#contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 10% 20%,  rgba(99,102,241,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 88% 80%,  rgba(26,86,219,0.10)  0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 70%  5%,  rgba(139,92,246,0.09) 0%, transparent 48%);
  pointer-events: none;
  animation: bgPulse 9s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  from { opacity: 0.8; transform: scale(1)    translate(0, 0);      }
  to   { opacity: 1;   transform: scale(1.06) translate(-2%, 1.5%); }
}

.bcard {
  position: relative;
  z-index: 1;
  width: 420px;
  aspect-ratio: 3.5 / 2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 2px 8px  rgba(26,86,219,0.12),
    0 12px 40px rgba(26,86,219,0.22),
    0 32px 80px rgba(99,102,241,0.18);
  animation: cardIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
  background: linear-gradient(135deg, #0f172a 0%, #1a3a6e 55%, #1e40af 100%);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
.bcard::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 32px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.bcard::after {
  content: "";
  position: absolute;
  bottom: -55px; left: -35px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 26px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.card-inner {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  padding: 20px 26px;
  gap: 20px;
}
.card-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo img { width: 28px; height: 28px; object-fit: contain; filter: brightness(10); }
.brand-name     { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.brand-tagline  {
  font-size: 7.5px; font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: center;
}
.vdivider { width: 1px; height: 80%; background: rgba(255,255,255,0.1); flex-shrink: 0; }
.card-contacts { display: flex; flex-direction: column; justify-content: center; gap: 9px; flex: 1; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
}
.c-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.icon-wa  { background: rgba(37,211,102,0.15); color: #4ade80; }
.icon-web { background: rgba(99,102,241,0.18);  color: #a5b4fc; }
.icon-ig  { background: rgba(219,39,119,0.15);  color: #f9a8d4; }
.c-label {
  font-size: 8px; font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.8px; line-height: 1;
}
.c-value { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.88); line-height: 1.3; }

@media (min-width: 768px) {
  .bcard          { width: 560px; }
  .card-inner     { padding: 28px 38px; gap: 30px; }
  .brand-logo     { width: 62px; height: 62px; border-radius: 14px; }
  .brand-logo img { width: 38px; height: 38px; }
  .brand-name     { font-size: 24px; }
  .brand-tagline  { font-size: 10px; letter-spacing: 2.2px; }
  .vdivider       { height: 75%; }
  .card-contacts  { gap: 16px; }
  .contact-row    { gap: 14px; }
  .c-icon         { width: 36px; height: 36px; border-radius: 9px; font-size: 18px; }
  .c-label        { font-size: 11px; letter-spacing: 0.9px; }
  .c-value        { font-size: 16px; }
}

@media (max-width: 480px) {
  .bcard { width: calc(100vw - 40px); }
}

/* ===== TAPLINK DEMO CARD ===== */
.tl-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.tl-bcard {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3.5 / 2;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1a3a6e 55%, #1e40af 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.25), 0 24px 64px rgba(0,0,0,0.2);
}
.tl-bcard::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 32px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.tl-bcard::after {
  content: "";
  position: absolute;
  bottom: -55px; left: -35px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 26px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.tl-card-inner {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  padding: 20px 26px;
  gap: 20px;
}
.tl-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tl-brand-logo {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255,255,255,0.9);
}
.tl-brand-name {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  text-align: center;
}
.tl-brand-tagline {
  font-size: 7px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}
.tl-vdivider {
  width: 1px;
  height: 80%;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.tl-contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
}
.tl-contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.tl-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.tl-icon-wa  { background: rgba(37,211,102,0.15); color: #4ade80; }
.tl-icon-web { background: rgba(99,102,241,0.18); color: #a5b4fc; }
.tl-icon-ig  { background: rgba(219,39,119,0.15); color: #f9a8d4; }
.tl-label {
  font-size: 7.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1;
}
.tl-value {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
}

/* ===== SCROLL REVEAL ===== */
.sr {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.sr.sr-left  { transform: translateX(-52px); }
.sr.sr-right { transform: translateX(52px); }
.sr.sr-scale { transform: scale(0.88) translateY(16px); }
.sr.is-visible {
  opacity: 1;
  transform: none !important;
}
.sr.sr-delay-1 { transition-delay: 0.15s; }
.sr.sr-delay-2 { transition-delay: 0.28s; }
.sr.sr-delay-3 { transition-delay: 0.42s; }
.sr.sr-delay-4 { transition-delay: 0.56s; }

/* ===== GSAP pin-spacer backgrounds =====
   GSAP's pin-spacer div is transparent by default; give it the same
   background as its child section so the white body never shows through. */
.pin-spacer:has(> #feature_pros) { background: #f5f7ff; }
.pin-spacer:has(> #site-types)   { background: #f0f4ff; }

/* ===== SITE TYPES SECTION ===== */
#site-types {
  background: var(--grad-section-alt);
  min-height: 100vh;
  padding: 48px 0 36px;
  overflow-x: hidden;       /* no horizontal scroll; vertical content is visible */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#site-types .section-title { margin-bottom: 4px; }

.st-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 13px;
  margin-bottom: 16px;
}

/* Tab buttons */
.st-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0px;
}

.st-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 12px;
  border: 2px solid rgba(99, 102, 241, 0.15);
  background: #fff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 150px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.st-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-pricing);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.st-tab:hover::after,
.st-tab.active::after { transform: scaleX(1); }

.st-tab-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.st-tab-icon--teal {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
}

.st-tab-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.st-tab-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-family: var(--font-primary);
  line-height: 1.2;
  transition: color 0.3s ease;
}
.st-tab-sub {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1;
}

.st-tab:hover {
  border-color: rgba(99, 102, 241, 0.28);
}
.st-tab.active {
  border-color: rgba(26, 86, 219, 0.35);
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.05), rgba(99, 102, 241, 0.03));
  box-shadow: 0 8px 30px rgba(26, 86, 219, 0.14);
}
.st-tab.active .st-tab-icon {
  background: var(--grad-pricing);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.35);
}
.st-tab.active .st-tab-icon--teal {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}
.st-tab.active .st-tab-title { color: var(--color-primary); }

/* Panels */
.st-panels { position: relative; }

.st-panel { display: none; }
.st-panel.active {
  display: block;
  animation: stPanelIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes stPanelIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reuse .features card/img styles inside panels */
#site-types .content { padding: 16px 10px; }

@media (max-width: 767px) {
  /* Keep min-height so the pin has a proper height — hide the image so
     the card fits inside 100vh without overflow or clipping */
  #site-types { padding: 36px 0 24px; }
  #site-types .img-col { display: none !important; }
  #site-types .card-wr { width: 100%; max-width: 100%; flex: 0 0 100%; }
  #site-types .content { padding: 6px 0; }
  #site-types .card-body { padding: 16px; }
  #site-types .card-text { font-size: 13px; margin-bottom: 10px; }
  #site-types h4 { font-size: 16px; margin-bottom: 6px; }
  #site-types .feat-grid { gap: 8px; }
  #site-types .feat-item { padding: 8px 10px; }
  #site-types .feat-item span { font-size: 12px; }
}

@media (max-width: 600px) {
  .st-tabs { gap: 10px; }
  .st-tab  { min-width: 0; flex: 1; padding: 10px 12px; gap: 8px; }
  .st-tab-icon { width: 34px; height: 34px; font-size: 16px; }
  .st-tab-title { font-size: 12px; }
  .st-tab-sub   { font-size: 10px; }
}

/* ===== FOOTER ===== */
footer {
  background-color: #0f172a;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
footer a              { color: rgba(255, 255, 255, 0.8); }
footer a:hover        { color: var(--color-primary-light); }
footer img            { width: 20px; margin-right: 8px; filter: opacity(0.8); }
