/* ==========================================================================
   Integro CRM — landing page styles
   Тёмная технологичная тема с неоновым акцентом
   ========================================================================== */

:root{
  --bg:#0a0d13;
  --bg-elevated:#0f1420;
  --surface:#141a26;
  --surface-hover:#1a2132;
  --border:#232b3d;
  --border-light:#2c3549;

  --text:#eaedf3;
  --text-muted:#9aa3b8;
  --text-faint:#666f85;

  --accent:#7f5cff;
  --accent-2:#22d3ee;
  --accent-rgb:127,92,255;
  --accent-2-rgb:34,211,238;

  --success:#22c55e;
  --danger:#f87171;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;

  --container:1180px;

  --shadow-card:0 1px 0 rgba(255,255,255,.03) inset, 0 20px 40px -20px rgba(0,0,0,.6);
  --shadow-glow:0 0 0 1px rgba(var(--accent-rgb),.25), 0 0 40px -8px rgba(var(--accent-rgb),.45);

  --ff:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;}
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--ff);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,p{margin:0;}
button{font-family:inherit;}
input,textarea,select{font-family:inherit;}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

section{position:relative;}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent-2);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--accent-2);
  box-shadow:0 0 12px var(--accent-2);
}

.section-head{
  max-width:640px;
  margin:0 0 48px;
}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

h2.section-title{
  font-size:clamp(28px,4vw,38px);
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.01em;
}
.section-sub{
  margin-top:14px;
  color:var(--text-muted);
  font-size:17px;
}

/* focus-visible */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid var(--accent-2);
  outline-offset:2px;
  border-radius:6px;
}

.skip-link{
  position:absolute;
  left:-9999px;top:0;
  background:var(--accent);
  color:#fff;
  padding:12px 20px;
  border-radius:0 0 10px 0;
  z-index:1000;
}
.skip-link:focus{left:0;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border-radius:12px;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
.btn-primary{
  background:linear-gradient(135deg,var(--accent),#5a3ff0);
  color:#fff;
  box-shadow:0 8px 24px -8px rgba(var(--accent-rgb),.7);
}
.btn-primary:hover{box-shadow:0 10px 30px -6px rgba(var(--accent-rgb),.85);}
.btn-ghost{
  background:rgba(255,255,255,.03);
  color:var(--text);
  border-color:var(--border-light);
}
.btn-ghost:hover{background:var(--surface-hover);border-color:var(--accent-2);}
.btn-block{width:100%;}
.btn[disabled]{opacity:.6;cursor:not-allowed;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(10,13,19,.8);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:700;font-size:19px;letter-spacing:-.01em;
}
.brand-mark{
  width:34px;height:34px;border-radius:9px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 20px -4px rgba(var(--accent-rgb),.8);
  flex:none;
}
.brand-mark svg{width:18px;height:18px;}

.nav-main{display:flex;align-items:center;gap:32px;}
.nav-main a{
  font-size:15px;color:var(--text-muted);
  transition:color .15s ease;
}
.nav-main a:hover{color:var(--text);}

.header-actions{display:flex;align-items:center;gap:14px;}
.header-actions .btn{padding:11px 20px;}

.nav-toggle{
  display:none;
  width:42px;height:42px;
  border-radius:10px;
  border:1px solid var(--border-light);
  background:var(--surface);
  align-items:center;justify-content:center;
  cursor:pointer;
}
.nav-toggle svg{width:20px;height:20px;}

.mobile-nav{
  display:none;
  border-top:1px solid var(--border);
  background:var(--bg-elevated);
}
.mobile-nav.open{display:block;}
.mobile-nav .container{padding-top:16px;padding-bottom:20px;display:flex;flex-direction:column;gap:4px;}
.mobile-nav a{padding:12px 4px;color:var(--text-muted);border-bottom:1px solid var(--border);}
.mobile-nav a:last-child{border-bottom:none;}
.mobile-nav .btn{margin-top:12px;}

@media (max-width:920px){
  .nav-main,.header-actions .btn-ghost{display:none;}
  .header-actions .btn-primary{display:none;}
  .nav-toggle{display:flex;}
}

/* ---------- Hero ---------- */
.hero{
  padding:96px 0 100px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  top:-200px;right:-160px;
  width:640px;height:640px;
  background:radial-gradient(circle,rgba(var(--accent-rgb),.28),transparent 65%);
  filter:blur(10px);
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  bottom:-220px;left:-160px;
  width:560px;height:560px;
  background:radial-gradient(circle,rgba(var(--accent-2-rgb),.16),transparent 65%);
  pointer-events:none;
}
.hero .container{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
  position:relative;
}
.hero-title{
  font-size:clamp(32px,4.6vw,52px);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.02em;
}
.hero-title .accent{
  background:linear-gradient(135deg,var(--accent-2),var(--accent));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-sub{
  margin-top:22px;
  font-size:18px;
  color:var(--text-muted);
  max-width:540px;
}
.hero-cta{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap;}
.hero-points{
  display:flex;flex-wrap:wrap;gap:20px 28px;
  margin-top:40px;
  padding-top:28px;
  border-top:1px solid var(--border);
}
.hero-point{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text-muted);}
.hero-point svg{width:18px;height:18px;color:var(--accent-2);flex:none;}

.hero-visual{
  position:relative;
  background:linear-gradient(160deg,var(--surface),var(--bg-elevated));
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:28px;
  box-shadow:var(--shadow-card);
}
.hero-visual-header{display:flex;align-items:center;gap:8px;margin-bottom:20px;}
.hero-visual-dot{width:10px;height:10px;border-radius:50%;background:var(--border-light);}
.hero-visual-dot:nth-child(1){background:#f87171;}
.hero-visual-dot:nth-child(2){background:#facc15;}
.hero-visual-dot:nth-child(3){background:#22c55e;}
.flow-card{
  display:flex;align-items:center;gap:14px;
  background:var(--bg-elevated);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:14px 16px;
  margin-bottom:12px;
}
.flow-card:last-child{margin-bottom:0;}
.flow-card-icon{
  width:38px;height:38px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(var(--accent-rgb),.14);
  color:var(--accent-2);
  flex:none;
}
.flow-card-icon svg{width:19px;height:19px;}
.flow-card-title{font-size:14px;font-weight:600;}
.flow-card-sub{font-size:12.5px;color:var(--text-faint);margin-top:2px;}
.flow-arrow{
  display:flex;justify-content:center;
  color:var(--text-faint);
  margin:2px 0;
}
.flow-arrow svg{width:16px;height:16px;}
.flow-progress{
  margin-top:18px;
  height:6px;border-radius:99px;
  background:var(--border);
  overflow:hidden;
}
.flow-progress-bar{
  width:72%;height:100%;
  border-radius:99px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
}

/* ---------- Logos strip ---------- */
.trust-strip{
  padding:36px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.trust-strip .container{
  display:flex;align-items:center;gap:28px;flex-wrap:wrap;justify-content:space-between;
}
.trust-strip-label{font-size:13px;color:var(--text-faint);white-space:nowrap;}
.trust-strip-items{display:flex;gap:28px;flex-wrap:wrap;align-items:center;color:var(--text-faint);font-size:14px;}
.trust-strip-items span{color:var(--text-muted);}

/* ---------- Cards grid (services) ---------- */
.section{padding:96px 0;}
.section-alt{background:var(--bg-elevated);}

.grid{
  display:grid;
  gap:22px;
}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:28px;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover{
  border-color:rgba(var(--accent-rgb),.5);
  transform:translateY(-3px);
  box-shadow:var(--shadow-glow);
}
.card-icon{
  width:48px;height:48px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(var(--accent-rgb),.14);
  color:var(--accent-2);
  margin-bottom:18px;
}
.card-icon svg{width:24px;height:24px;}
.card h3{font-size:19px;font-weight:700;margin-bottom:10px;letter-spacing:-.01em;}
.card p{color:var(--text-muted);font-size:14.5px;}
.card ul{margin-top:14px;display:flex;flex-direction:column;gap:8px;}
.card ul li{
  font-size:13.5px;color:var(--text-muted);
  padding-left:20px;position:relative;
}
.card ul li::before{
  content:"";
  position:absolute;left:0;top:8px;
  width:6px;height:6px;border-radius:50%;
  background:var(--accent-2);
}
.card-link{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:18px;font-size:14px;font-weight:600;color:var(--accent-2);
}
.card-link svg{width:15px;height:15px;transition:transform .15s ease;}
.card:hover .card-link svg{transform:translateX(3px);}

/* ---------- CRM block ---------- */
.crm-block{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:48px;
  align-items:center;
}
.crm-card{
  background:linear-gradient(160deg,var(--surface),var(--bg-elevated));
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:36px;
  box-shadow:var(--shadow-card);
}
.crm-card-top{display:flex;align-items:center;gap:16px;margin-bottom:20px;}
.crm-wordmark{
  font-weight:800;font-size:24px;letter-spacing:-.01em;
  display:flex;align-items:center;gap:10px;
}
.crm-wordmark .dot{
  width:12px;height:12px;border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 0 14px rgba(var(--accent-rgb),.8);
}
.crm-badge{
  font-size:12px;font-weight:600;color:var(--accent-2);
  background:rgba(var(--accent-2-rgb),.12);
  border:1px solid rgba(var(--accent-2-rgb),.3);
  padding:4px 10px;border-radius:99px;
}
.crm-feature-list{display:flex;flex-direction:column;gap:14px;margin-top:22px;}
.crm-feature{display:flex;gap:12px;align-items:flex-start;}
.crm-feature svg{width:18px;height:18px;color:var(--success);flex:none;margin-top:2px;}
.crm-feature-text{font-size:14.5px;color:var(--text-muted);}
.crm-feature-text b{color:var(--text);font-weight:600;}

.crm-note{
  margin-top:20px;
  font-size:12.5px;
  color:var(--text-faint);
  border-top:1px solid var(--border);
  padding-top:16px;
}

/* ---------- Why us ---------- */
.why-list{display:flex;flex-direction:column;gap:0;}
.why-item{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:20px;
  padding:26px 0;
  border-bottom:1px solid var(--border);
}
.why-item:last-child{border-bottom:none;}
.why-num{
  font-size:14px;font-weight:700;color:var(--accent-2);
  width:56px;height:56px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:var(--surface);
  border:1px solid var(--border-light);
}
.why-item h3{font-size:17px;font-weight:700;margin-bottom:6px;}
.why-item p{color:var(--text-muted);font-size:14.5px;}

/* ---------- Process ---------- */
.process-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.process-card{
  position:relative;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:28px 24px;
}
.process-step{
  font-size:34px;font-weight:800;
  background:linear-gradient(135deg,var(--accent-2),var(--accent));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  margin-bottom:12px;
}
.process-card h3{font-size:16.5px;font-weight:700;margin-bottom:8px;}
.process-card p{font-size:13.5px;color:var(--text-muted);}

/* ---------- Segments ---------- */
.segment-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.segment-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:22px;
  display:flex;align-items:center;gap:14px;
}
.segment-card svg{width:22px;height:22px;color:var(--accent-2);flex:none;}
.segment-card span{font-size:14.5px;font-weight:600;}

/* ---------- Results ---------- */
.results-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.result-card{
  padding:26px 22px;
  border-radius:var(--radius-md);
  background:var(--bg-elevated);
  border:1px solid var(--border);
}
.result-card svg{width:26px;height:26px;color:var(--accent-2);margin-bottom:14px;}
.result-card h3{font-size:15.5px;font-weight:700;margin-bottom:6px;}
.result-card p{font-size:13.5px;color:var(--text-muted);}

/* ---------- About ---------- */
.about-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.about-text p{color:var(--text-muted);font-size:15.5px;margin-bottom:16px;}
.about-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;}
.about-stat{
  padding:18px;border-radius:var(--radius-md);
  background:var(--surface);border:1px solid var(--border);
}
.about-stat b{display:block;font-size:14.5px;margin-bottom:4px;}
.about-stat span{font-size:13px;color:var(--text-muted);}

/* ---------- FAQ ---------- */
.faq-list{max-width:760px;margin:0 auto;}
.faq-item{
  border-bottom:1px solid var(--border);
}
.faq-q{
  width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:22px 4px;
  background:none;border:none;
  color:var(--text);
  font-size:16px;font-weight:600;text-align:left;
  cursor:pointer;
}
.faq-q svg{width:18px;height:18px;flex:none;color:var(--accent-2);transition:transform .2s ease;}
.faq-item[open] .faq-q svg{transform:rotate(45deg);}
.faq-a{padding:0 4px 22px;color:var(--text-muted);font-size:14.5px;max-width:640px;}
.faq-item summary{list-style:none;}
.faq-item summary::-webkit-details-marker{display:none;}

/* ---------- Contact ---------- */
.contact-block{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:48px;
}
.contact-info-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px;
}
.contact-row{
  display:flex;gap:14px;align-items:flex-start;
  padding:16px 0;
  border-bottom:1px solid var(--border);
}
.contact-row:last-of-type{border-bottom:none;}
.contact-row svg{width:20px;height:20px;color:var(--accent-2);flex:none;margin-top:2px;}
.contact-row-label{font-size:12.5px;color:var(--text-faint);margin-bottom:3px;}
.contact-row-value{font-size:15px;font-weight:600;}
.contact-row a:hover{color:var(--accent-2);}
.contact-social{display:flex;gap:10px;margin-top:20px;}
.social-btn{
  width:42px;height:42px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:var(--bg-elevated);border:1px solid var(--border-light);
  color:var(--text-muted);
  transition:color .15s ease, border-color .15s ease;
}
.social-btn:hover{color:var(--accent-2);border-color:var(--accent-2);}
.social-btn svg{width:19px;height:19px;}

.form-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px;
}
.form-row{margin-bottom:18px;}
.form-row label{
  display:block;font-size:13.5px;font-weight:600;color:var(--text-muted);margin-bottom:8px;
}
.form-row .req{color:var(--accent-2);}
.form-control{
  width:100%;
  background:var(--bg-elevated);
  border:1px solid var(--border-light);
  border-radius:10px;
  padding:13px 14px;
  color:var(--text);
  font-size:14.5px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.form-control::placeholder{color:var(--text-faint);}
.form-control:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.2);
}
textarea.form-control{resize:vertical;min-height:96px;}
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}

.form-consent{
  display:flex;gap:10px;align-items:flex-start;
  font-size:12.5px;color:var(--text-faint);
  margin:20px 0;
}
.form-consent input{margin-top:3px;flex:none;}
.form-consent a{color:var(--accent-2);text-decoration:underline;}

.form-honeypot{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden;}

.form-msg{
  display:none;
  margin-top:16px;
  padding:13px 16px;
  border-radius:10px;
  font-size:14px;
}
.form-msg.show{display:block;}
.form-msg.success{background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.35);color:#86efac;}
.form-msg.error{background:rgba(248,113,113,.12);border:1px solid rgba(248,113,113,.35);color:#fca5a5;}

/* ---------- Final CTA ---------- */
.cta-block{
  border-radius:var(--radius-lg);
  padding:60px 48px;
  text-align:center;
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.22),rgba(var(--accent-2-rgb),.14));
  border:1px solid var(--border-light);
  position:relative;
  overflow:hidden;
}
.cta-block h2{font-size:clamp(26px,3.6vw,34px);font-weight:800;margin-bottom:14px;}
.cta-block p{color:var(--text-muted);max-width:520px;margin:0 auto 28px;}
.cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--border);
  padding:64px 0 32px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:40px;
  padding-bottom:40px;
}
.footer-desc{color:var(--text-muted);font-size:14px;margin-top:14px;max-width:300px;}
.footer-col h4{font-size:13.5px;font-weight:700;margin-bottom:16px;color:var(--text-faint);text-transform:uppercase;letter-spacing:.04em;}
.footer-col ul{display:flex;flex-direction:column;gap:10px;}
.footer-col a{color:var(--text-muted);font-size:14.5px;}
.footer-col a:hover{color:var(--accent-2);}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  padding-top:28px;border-top:1px solid var(--border);
  font-size:13px;color:var(--text-faint);
}
.footer-bottom a{color:var(--text-faint);}
.footer-bottom a:hover{color:var(--accent-2);}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease;}
.reveal.is-visible{opacity:1;transform:translateY(0);}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero .container{grid-template-columns:1fr;}
  .hero-visual{order:-1;}
  .crm-block{grid-template-columns:1fr;}
  .about-block{grid-template-columns:1fr;}
  .contact-block{grid-template-columns:1fr;}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .process-grid{grid-template-columns:repeat(2,1fr);}
  .segment-grid{grid-template-columns:repeat(2,1fr);}
  .results-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

@media (max-width:640px){
  .section{padding:64px 0;}
  .hero{padding:56px 0 64px;}
  .grid-3,.grid-2,.process-grid,.segment-grid,.results-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
  .form-grid-2{grid-template-columns:1fr;}
  .hero-cta{flex-direction:column;align-items:stretch;}
  .hero-cta .btn{width:100%;}
  .trust-strip .container{flex-direction:column;align-items:flex-start;gap:14px;}
  .cta-block{padding:40px 22px;}
  .why-item{grid-template-columns:44px 1fr;gap:14px;}
  .why-num{width:44px;height:44px;border-radius:12px;font-size:13px;}
}
