/*
Theme Name: AI Consulting
Author: Artemka and Dasha
Description: AI consulting landing page
Version: 0.1
*/

/* ---------------- Header ---------------- */

.logo-img {
    width: 100%;      
    max-width: 120px;  
    height: auto;
    filter: brightness(0) invert(1); 
	margin-top: 10px;
}

.header-block {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1520px;
    max-width: 95%;
    height: 70px;
    display: flex;
	position: fixed;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 8px;
    border-radius: 100px;
    background: rgba(12,10,16,0.44);
    backdrop-filter: blur(20px);
    z-index: 9999;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: #DFDFDF;
    text-decoration: none;
}

.menu-toggle {
    display: none;
}

.group1 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.group1,
.group1 .logo {
    font-family: 'Baloo Paaji', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    color: #DFDFDF;
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #DFDFDF;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.menu a:hover {
    color: #A389D6;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
	left: -6.61%;
    right: -6.61%;
    top: -20%;
	background: url('/wp-content/uploads/2025/12/land-v2-1.webp') center/cover no-repeat;
	background-size: 100% 110%;
}

body > * {
    position: relative;
    z-index: 1;
}

:root{
  --bg-1: #151517;
  --accent: #A389D6;
  --glass-bg: rgba(75, 47, 131, 0.5);
  --glass-weak: rgba(12,10,16,0.22);
  --text: #DFDFDF;
  --muted: rgba(255,255,255,0.33);
  --container-w: 1200px;
}

/* base */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 20px; box-sizing: border-box;  border-radius: 18px; background: var(--glass-bg); backdrop-filter: blur(12px);}
.container-grid { max-width: calc(var(--container-w) + 400px); margin: 0 0; padding: 0 0px; }

/* body bg layers */
/* Decorative fixed background layers (use pointer-events:none so they don't intercept clicks) */
.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -5;
}

.site-main { position: relative; }

.hero-wrap {
  display: grid;
  grid-template-columns: 460px 720px; 
  justify-content: center; 
  gap: 40px;
  align-items: start;
  padding: 120px 20px 40px;
  box-sizing: border-box;
  align-items: flex-end;
}

.portfolio_text_1 {
  padding: 0px 0px 0px 70px;
}

.hero-left { padding-left: 0; }

.hero-left-down {
	background: var(--glass-bg); border-radius: 18px; padding: 17px; backdrop-filter: blur(12px); color: var(--text); 
}

.hero-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 600;  /* SemiBold */
  font-size: 60px;
  line-height: 80px;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 20px;
  color: var(--text);
  max-width: 520px;
}
.hero-cta-row { display:flex; gap:14px; align-items:center; margin-bottom:18px; }
.hero-lead { margin-top: 10px; color: var(--text); font-size: 20px; }

/* Right hero card(s) */
.hero-right { display:flex; flex-direction:column; gap:18px; }
.card-right-top, .card-right-bottom {
  background: var(--glass-weak);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}
.kpi-row { display:flex; gap:12px; justify-content: space-between; }
.kpi { display:flex; flex-direction:column; align-items:center; min-width: 140px; padding: 10px; }
.kpi-num { font-size: 48px; font-weight: 600; color: var(--text); }
.kpi-text { font-size: 14px; text-align:center; color: var(--text); }

/* card-right-bottom */
.card-title { font-size: 18px; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.bullet-list { list-style: none; padding-left: 0; margin:0; display:grid; gap:8px; color: var(--text); }

/* ---------- "What we offer" ---------- */
.we-offer { padding: 2px 20px; max-width: var(--container-w); max-height: 300px; margin: 0 auto; box-sizing: border-box; }
.section-title { font-size: 36px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.offer-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;}
.offer-card { padding: 22px;}
.offer-card-title {text-align: center; margin-bottom: 60px;};

/* ---------- Features list (Group 54) ---------- */
.features { display:flex; gap: 20px; align-items:flex-start; padding: 40px 20px; max-width: var(--container-w); margin: 0 auto; }
.features-list { flex: 0 0 360px; padding: 20px; border-radius: 18px;  backdrop-filter: blur(12px); }
.features-list h3 { margin-bottom:12px; font-size:20px; }
.features-list ul { list-style:none; padding-left:0; display:flex; flex-direction:column; gap:10px; color:var(--text); }

/* ---------- Cases / stats ---------- */
.cases {
  display: flex;          
  flex-direction: column; 
  align-items: stretch;
  padding: 0px 20px;
  max-width: var(--container-w);
  margin: 0 auto;
}
.case-left { background: var(--glass-bg); padding: 0 0px 22px 22px; border-radius: 18px; display: flex;
  flex-direction: column;}
.case-left h3 { font-size: 22px; margin-bottom: 10px; }
.case-desc { font-size: 18px; color:var(--text); }
.case-client { font-weight:500; margin-top: 12px; color:var(--text); }

.case-right { display:flex; flex-direction:column; gap:14px}

.case-stats {
  flex: 0 0 180px;
  justify-content: center;
}

.case-stats-row {
  display: flex;
  justify-content: space-between;
  gap:20px;	
  justify-content: center;
}

.big-num { font-size: 48px; font-weight:700; color: var(--text); text-align: center;}
.small-text { font-size:14px; color: var(--text); text-align:center; white-space: nowrap;}

/* testimonial */
.testimonial { padding:16px; }


/* ---------- Contact form ---------- */
.contact {
  padding: 40px 20px;
  max-width: var(--container-w);
  margin: 0 auto 80px;

  display: flex;
  gap: 40px;
  flex-wrap: nowrap;
}
.contact > * {
  flex: 1 1 45%;     
  min-width: 300px; 
}
.contact-card { max-width: 520px; padding: 24px; }
.contact-card h3 { margin-bottom: 12px; font-size: 20px; }
.contact-card-title { font-size: 48px; font-weight:700; color: var(--text); text-align: center; }

.contact-form { display:flex; flex-direction:column; gap:12px; }
.input-label { display:flex; flex-direction:column; gap:8px; }
.label-text { font-size:14px; color:var(--text); font-weight:500; }
.input { background: #0C0A10; border: 1px solid rgba(255,255,255,0.03); padding: 12px 14px; border-radius: 12px; color:var(--text); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  cursor: pointer; 

  background: linear-gradient(
    to right, 
    rgba(75, 47, 131, 0.9), 
    rgba(75, 47, 131, 0.2)
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-weight: 600;

  width: 300%; /* вернули твою ширину */

  background-blend-mode: plus-lighter;
  mix-blend-mode: difference;

  outline: none !important;
  border: none !important;

  /* Тень для объёма */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-full{
	width: 100%;
}

/* ---------- Footer ---------- */
.site-footer { color:var(--muted); padding: 40px 20px; border-radius: 20px; margin-top: 40px; }
.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.footer-company { font-weight:600; }
.footer-info { font-size:14px; color:var(--muted); }

/* ---------- Utilities & responsive ---------- */
.glass { background: var(--glass-bg); border-radius: 18px; backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(0,0,0,0.45); color: var(--text); padding-top: 10px; padding-right: 20px; padding-bottom: 50px; padding-left: 20px;
}

.glass_board {
  background: hsla(255, 40%, 85%, 0.3); /* светлый лиловый с прозрачностью */
  border-radius: 90px;
  padding: 50px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: var(--text);
  border: none;
}

.glasses {
  background: var(--glass-bg); /* чем больше число — тем темнее */
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
}


.card{ padding: 14px; color: var(--text);}

.cards{ padding-top: 60px; }

.line {
  position: relative;
  top: 30px;   
  border: 1px solid;
  max-width: 680px;
  margin: 0 auto;
  border-image-source: linear-gradient(90deg, #4F4179 -2.09%, #E0D9F5 50.45%, #352C4F 102.45%);
  border-image-slice: 1;
  border-radius: 2px;
}

.indent{
  padding-bottom: 20px;
}

.slides > .slide {
  display: none; /* скрываем все слайды по умолчанию */
  flex-direction: column;
}
.slides > .slide:first-child {
  display: flex; /* первый слайд виден при загрузке */
}

.slide.active {
  display: block;
}

.arrows-wrapper {
  position: relative;    
  display: flex;
  justify-content: space-between; 
  align-items: center;
  width: 100%;              
  top: 320px;                  
}

.arrow {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: hsla(255, 40%, 85%, 0.3);
  color: #fff;
  font-size: 32px;
  border: none;
  cursor: pointer;          
  display: flex;           
  align-items: center;
  justify-content: center;
  z-index: 10;              
  position: relative;
  transition: background 0.3s;
}

.arrow:hover {
  background: rgba(255,255,255,0.1);
}

.item {
  display: flex;          
  gap: 10px;             
  margin-bottom: 13px;
}

.circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: hsla(255, 40%, 85%, 0.3);
  position: relative;
  margin-left: -40px;
}

.text {
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  font-size: 15px;
  line-height: 30px;
  color: #DFDFDF;
  margin-top: -5px;
}

.with-dot {
  position: relative;
  padding-left: 20px; /* отступ под кружок */
}

.with-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: hsla(255, 40%, 85%, 0.3);
  border-radius: 50%;
}

.text-line {
  line-height: 1.5;
}


  #hero-left-down {
  	scroll-margin-top: 250px;
  }

  #advantages {
  	scroll-margin-top: 250px;
  }

/* Чат */
/* Стили для виджета чата */
#chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Кнопка переключения */
#chat-toggle {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(
		to right, 
		rgba(75, 47, 131, 0.9), 
		rgba(75, 47, 131, 0.2)
	  );
  color: white;
  border-radius: 50px;
  padding: 12px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(75, 47, 131, 0.9);
  transition: all 0.3s ease;
  user-select: none;
}

#chat-toggle.chat-open {
  border-radius: 20px 20px 0 0;
  padding: 10px 20px;
  bottom: auto;
  top: -40px;
}

.toggle-icon {
  font-size: 20px;
}

.toggle-text {
  display: flex;
  flex-direction: column; 
  align-items: center;   
  font-weight: 500;
  line-height: 1.1;
}

.toggle-text .line1 {
  font-size: 14px; 
}

.toggle-text .line2 {
  font-size: 12px;  
}

/* Контейнер чата */
.chat-container {
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

.chat-container.hidden {
  display: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Контейнер сообщений */
.messages-container {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Область ввода */
.input-area {
  padding: 15px;
  background: white;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 10px;
}

#chat-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

#chat-input:focus {
  border-color: #5d448f;
}

#send-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
		to right, 
		rgba(75, 47, 131, 0.9), 
		rgba(75, 47, 131, 0.2)
	  );
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s;
}

#send-btn:hover {
  transform: scale(1.05);
}

.clickable-example {
  color: #4b2f83;     
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.2s;
}

.clickable-example:hover {
  color: #6a4ebf;      
}

#clear-history-btn {
  background: linear-gradient(
    to right,
    rgba(75, 47, 131, 0.95),
    rgba(75, 47, 131, 0.65)
  );
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin: 12px auto;
  display: block;
  box-shadow: 0 4px 12px rgba(75, 47, 131, 0.35);
  transition: all 0.25s ease;
}

#clear-history-btn:hover {
  background: linear-gradient(
    to right,
    rgba(106, 78, 191, 0.95),
    rgba(106, 78, 191, 0.65)
  );
  box-shadow: 0 6px 16px rgba(106, 78, 191, 0.45);
  transform: translateY(-1px);
}

#clear-history-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(75, 47, 131, 0.4);
}

/* Смартфоны */
@media (max-width: 1024px) {
	.header-block {
        width: 100%;  
        left: 0;
        transform: none;
        height: auto;
        flex-wrap: wrap;
        padding: 8px 16px;
        border-radius: 0;
    }
	
	.group1 {
		max-height: 50px;
	}
	
	.logo-img {
		width: 100%;      
		max-width: 120px;  
		height: 40px;
		filter: brightness(0) invert(1); 
		margin-top: 20px;
		transform: translateX(5px);
	}

    .menu {
        display: none; /* скрываем меню */
        flex-direction: column;
        gap: 10px;
        background: rgba(12,10,16,0);
        padding: 12px;
        width: 100%;
        margin-top: 8px;
        border-radius: 12px;
    }

    .menu a {
        font-size: 16px;
        padding: 8px 0;
    }

    .menu-toggle {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        color: #DFDFDF;
        cursor: pointer;
        margin-left: auto; /* справа */
    }

    /* Показываем меню, когда активное */
    .menu.active {
        display: flex;
    }
	
	.hero-wrap {
    display: flex;
    flex-direction: column; /* вертикально */
    gap: 20px;
    padding: 20px 10px 60px 10px;
  }

  .hero-title {
	  font-family: 'Roboto', sans-serif;
	  font-weight: 600;  /* SemiBold */
	  font-size: 45px;
	  line-height: 80px;
	  color: var(--text);
	  margin-bottom: 12px;
	}

	.btn-primary {
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;

	  padding: 12px 22px;
	  border-radius: 999px;
	  text-decoration: none;
	  color: var(--text);
	  cursor: pointer; 

	  background: linear-gradient(
		to right, 
		rgba(75, 47, 131, 0.9), 
		rgba(75, 47, 131, 0.2)
	  );
	  backdrop-filter: blur(12px);
	  -webkit-backdrop-filter: blur(12px);

	  font-weight: 600;

	  width: 300%; /* вернули твою ширину */

	  background-blend-mode: plus-lighter;
	  mix-blend-mode: difference;

	  outline: none !important;
	  border: none !important;

	  /* Тень для объёма */
	  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	  margin-bottom: 150px;
	}

	.btn-full{
		width: 100%;
	}
	
	/* контейнер портфолио */
  .hero-right {
    width: 100%;
    padding: 40px 0px 0px 0px;
  }

  .cases {
	position: relative;
    width: 100%;
    max-width: 100%;
	padding: 0px 0px;
  }

  .slides .slide {
    width: 100%;
    padding: 0px 12px 12px 12px;
    box-sizing: border-box;
  }
	
  .container {
    width: 95%;
    box-sizing: border-box;  
	border-radius: 18px; 
	background: var(--glass-bg); 
	backdrop-filter: blur(12px);
	padding: 0px 500px 0px 50px;
  }
	
  /* слайды */
  .slides {
	padding: 0px;
    width: 100%;
  }

  /* основной контент кейса */
  .case-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
	padding-left: 50px;
    padding-right: 50px;
  }

  /* текст */
  .portfolio_text_1 {
    padding: 0;
  }

  .portfolio_text_1 h3 {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 6px;
  }

  .portfolio_text_1 p,
  .portfolio_text_1 li,
  .text-line {
    font-size: 13px;
    line-height: 18px;
  }

  ul {
    padding-left: 16px;
  }

  /* статистика */
  .case-stats-row {
		display: flex;
		flex-direction: row;
		gap: 10px;
		align-items: center;
		width: 100%;
	}
	
  .glass_board {
	  background: hsla(255, 40%, 85%, 0.3);
	  border-radius: 90px;
	  padding: 20px;

	  backdrop-filter: blur(12px);
	  -webkit-backdrop-filter: blur(12px);

	  color: var(--text);
	  border: none;
	}

  .case-stats {
    width: 50%;
	flex: 1;
	flex: 0 0 10px;
    justify-content: center;
  }

  .big-num {
    font-size: 28px;
    line-height: 32px;
  }

  .small-text {
	width: 70px;
    white-space: normal;    
    word-break: break-word; 
    font-size: 4px;
    line-height: 10px;
  }

  /* отзыв */
  .testimonial {
    font-size: 13px;
    line-height: 18px;
    padding: 10px;
  }

  /* стрелки */
  .arrows-wrapper {
    position: absolute;
    top: 380px;
    margin-bottom: 8px;
    padding: 0 0px;
    justify-content: space-between;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
	
  .we-offer { 
	  padding: 2px 20px; 
	  max-width: var(--container-w); 
	  max-height: 300px; 
	  margin: 0 auto; 
	  box-sizing: border-box; 
	}
	
	.we-offer {
    padding: 10px 16px; /* уменьшили внутренние отступы */
    max-width: 100%;    /* растягиваем на всю ширину экрана */
    max-height: none;   /* убираем ограничение по высоте */
    box-sizing: border-box;
  }

  .we-offer .section-title {
    font-size: 24px;    /* меньше заголовок */
    line-height: 32px;
    text-align: center;
    margin-bottom: 16px;
  }

  .offer-grid {
    display: flex;
    flex-direction: column; /* все карточки в одну колонку */
    gap: 0px;             /* расстояние между карточками */
  }

  .offer-card {
    padding: 14px;          /* уменьшаем внутренние отступы карточки */
    border-radius: 12px;    /* чуть меньше скругление */
  }

  .offer-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .offer-card ul li {
    font-size: 14px;
    line-height: 20px;
  }
	
  .contact {
    flex-direction: column; /* карточки одна под другой */
    gap: 20px;              /* расстояние между блоками */
    padding: 20px 10px;     /* уменьшили внутренние отступы */
  }

  .contact > * {
    flex: 1 1 100%;         /* растягиваем на всю ширину */
    min-width: auto;        /* убираем минимальную ширину */
  }

  .offer-card.glass {
	margin-top: 50px;
    padding: 14px;           /* меньше внутренний padding */
    border-radius: 12px;     /* чуть меньше скругление */
  }

  .offer-card-title {
    font-size: 22px;          /* уменьшили заголовок */
    line-height: 28px;
    text-align: center;
    margin-bottom: 12px;
  }

  .offer-card ul p {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
  }

  .contact-card {
    padding: 14px;            /* уменьшили padding */
    border-radius: 12px;
  }

  .contact-card-title {
    font-size: 20px;
    margin-bottom: 12px;
    text-align: center;
  }

  .contact-form {
    gap: 10px;                /* уменьшили расстояние между полями */
  }

  .input-label .label-text {
    font-size: 14px;
  }

  .input {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn-primary {
    width: 100%;              /* кнопка растягивается на всю ширину */
    padding: 12px 0;
    font-size: 16px;
  }
	
  .site-footer {
    padding: 20px 10px;      /* меньше отступы */
    border-radius: 12px;
  }

  .footer-inner {
    flex-direction: column;  /* колонки идут вертикально */
    align-items: center;     /* выравнивание по центру */
    gap: 12px;               /* расстояние между блоками */
    text-align: center;
  }

  .footer-left, .footer-right {
    width: 100%;
  }

  .footer-company {
    font-size: 14px;         /* меньше шрифт */
    font-weight: 500;
  }

  .footer-info {
    font-size: 12px;
    line-height: 16px;
  }

  .footer-right p {
    font-size: 12px;
    line-height: 16px;
    margin: 0;
  }
	
  #advantages {
	  scroll-margin-top: -15px;
	}

  #contact{
	  scroll-margin-top: -60px;
	}
	
}





