/* INTELLI ENGINE - Components */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(6,13,31,0.9);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(10,189,227,0.15);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 40px; }
.nav-logo-text { font-size: 1.2rem; font-weight: 800; background: linear-gradient(135deg,#0ABDE3,#10AC84); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: #C8D6E5; transition: color 0.3s; }
.nav-links a:hover { color: #0ABDE3; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
@media(max-width:768px){
  .nav-links,.nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open, .nav-cta.open { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(6,13,31,0.98); padding: 20px; gap: 16px; border-bottom: 1px solid rgba(10,189,227,0.15); }
}
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(10,189,227,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(95,39,205,0.1) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(16,172,132,0.08) 0%, transparent 70%);
}
#particles-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(10,189,227,0.1); border: 1px solid rgba(10,189,227,0.3); padding: 8px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; color: #0ABDE3; margin-bottom: 24px; letter-spacing: 0.05em; }
.hero-title { font-size: clamp(2.5rem,5vw,4rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; }
.hero-title .highlight { background: linear-gradient(135deg,#0ABDE3,#10AC84); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.1rem; color: #8892A4; margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stat-number { font-size: 2rem; font-weight: 900; background: linear-gradient(135deg,#0ABDE3,#10AC84); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: #8892A4; margin-top: 4px; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card-stack { position: relative; width: 100%; max-width: 460px; }
.floating-card { background: rgba(13,27,62,0.8); backdrop-filter: blur(20px); border: 1px solid rgba(10,189,227,0.2); border-radius: 20px; padding: 20px 24px; position: absolute; }
.floating-card-main { position: relative; background: linear-gradient(135deg,rgba(10,189,227,0.1),rgba(95,39,205,0.1)); border: 1px solid rgba(10,189,227,0.3); border-radius: 24px; padding: 32px; animation: float-main 6s ease-in-out infinite; }
.floating-card-1 { top: -40px; right: -20px; animation: float-1 7s ease-in-out infinite; }
.floating-card-2 { bottom: -30px; left: -20px; animation: float-2 5s ease-in-out infinite; }
@keyframes float-main { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes float-1 { 0%,100%{transform:translateY(0) rotate(2deg)} 50%{transform:translateY(-8px) rotate(-1deg)} }
@keyframes float-2 { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(8px) rotate(1deg)} }
@media(max-width:900px){
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
}
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { background: rgba(13,27,62,0.6); border: 1px solid rgba(10,189,227,0.1); border-radius: 20px; padding: 32px; transition: all 0.3s; cursor: pointer; }
.service-card:hover { background: rgba(13,27,62,0.9); border-color: rgba(10,189,227,0.4); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.service-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: #8892A4; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-tag { font-size: 0.7rem; padding: 3px 10px; border-radius: 100px; background: rgba(10,189,227,0.08); border: 1px solid rgba(10,189,227,0.2); color: #0ABDE3; font-weight: 600; }
@media(max-width:1024px){ .services-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px){ .services-grid { grid-template-columns: 1fr; } }
.solutions-tabs { display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; justify-content: center; }
.tab-btn { padding: 10px 24px; border-radius: 100px; border: 1px solid rgba(10,189,227,0.2); background: transparent; color: #8892A4; font-family: 'Inter',sans-serif; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.tab-btn.active, .tab-btn:hover { background: linear-gradient(135deg,#0ABDE3,#10AC84); color: #fff; border-color: transparent; }
.tab-content { display: none; }
.tab-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.solution-features { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.solution-feature { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: rgba(13,27,62,0.5); border: 1px solid rgba(10,189,227,0.1); border-radius: 12px; }
.feature-check { width: 24px; height: 24px; border-radius: 50%; background: rgba(16,172,132,0.15); border: 1px solid rgba(16,172,132,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.75rem; color: #1dd1a1; margin-top: 2px; }
.solution-visual { background: rgba(13,27,62,0.6); border: 1px solid rgba(10,189,227,0.15); border-radius: 24px; padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 300px; position: relative; overflow: hidden; }
@media(max-width:768px){ .tab-content.active { grid-template-columns: 1fr; } .solution-visual { display: none; } }
.methodology-timeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.methodology-timeline::before { content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg,#0ABDE3,#5F27CD,#10AC84); z-index: 0; }
.method-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.method-number { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg,#0ABDE3,#10AC84); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; color: #060D1F; margin: 0 auto 24px; box-shadow: 0 0 30px rgba(10,189,227,0.3); transition: transform 0.3s; }
.method-step:hover .method-number { transform: scale(1.1); }
.method-step h4 { font-size: 1rem; margin-bottom: 8px; }
.method-step p { font-size: 0.8rem; color: #8892A4; }
@media(max-width:768px){ .methodology-timeline { grid-template-columns: 1fr 1fr; gap: 32px; } .methodology-timeline::before { display: none; } }
.ref-card { background: rgba(13,27,62,0.6); border: 1px solid rgba(10,189,227,0.1); border-radius: 20px; overflow: hidden; transition: all 0.3s; }
.ref-card:hover { border-color: rgba(10,189,227,0.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.ref-card-img { height: 180px; background: linear-gradient(135deg,rgba(10,189,227,0.2),rgba(95,39,205,0.2)); display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; overflow: hidden; }
.ref-card-body { padding: 24px; }
.ref-card-body h4 { font-size: 1rem; margin-bottom: 8px; }
.ref-card-body p { font-size: 0.8rem; color: #8892A4; margin-bottom: 16px; line-height: 1.6; }
.ref-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ref-tag { font-size: 0.7rem; padding: 3px 10px; border-radius: 100px; background: rgba(95,39,205,0.15); border: 1px solid rgba(95,39,205,0.3); color: #a29bfe; font-weight: 600; }
.faq-accordion { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { background: rgba(13,27,62,0.5); border: 1px solid rgba(10,189,227,0.1); border-radius: 16px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(10,189,227,0.3); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; gap: 16px; }
.faq-question span { font-weight: 600; font-size: 0.95rem; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: rgba(10,189,227,0.1); border: 1px solid rgba(10,189,227,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; font-size: 0.8rem; color: #0ABDE3; }
.faq-item.open .faq-icon { background: rgba(10,189,227,0.2); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; color: #8892A4; font-size: 0.9rem; line-height: 1.7; }
.quote-form { background: rgba(13,27,62,0.5); border: 1px solid rgba(10,189,227,0.15); border-radius: 24px; padding: 48px; max-width: 900px; margin: 0 auto; }
.quote-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media(max-width:600px){ .quote-form-grid { grid-template-columns: 1fr; } .quote-form { padding: 24px; } }
.stats-bar { background: rgba(13,27,62,0.8); border-top: 1px solid rgba(10,189,227,0.1); border-bottom: 1px solid rgba(10,189,227,0.1); padding: 48px 0; }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; max-width: 1280px; margin: 0 auto; padding: 0 24px; text-align: center; }
@media(max-width:768px){ .stats-bar-grid { grid-template-columns: repeat(2,1fr); } }
.footer { background: rgba(6,8,18,0.9); border-top: 1px solid rgba(10,189,227,0.1); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: #8892A4; font-size: 0.875rem; margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer-col h5 { font-size: 0.875rem; font-weight: 700; margin-bottom: 20px; color: #0ABDE3; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: #8892A4; transition: color 0.3s; }
.footer-links a:hover { color: #0ABDE3; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: #8892A4; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: #8892A4; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(10,189,227,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #8892A4; transition: all 0.3s; }
.social-link:hover { background: rgba(10,189,227,0.1); border-color: #0ABDE3; color: #0ABDE3; transform: translateY(-2px); }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 16px; } }

/* ── CHAT WIDGET ── */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }
.chat-toggle-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg,#0ABDE3,#10AC84);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
  box-shadow: 0 8px 32px rgba(10,189,227,0.4);
  transition: all 0.3s;
  position: relative;
}
.chat-toggle-btn:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(10,189,227,0.6); }
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #ff4757; color: #fff; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #060D1F;
}
.chat-window {
  position: absolute; bottom: 76px; right: 0;
  width: 360px; height: 500px;
  background: rgba(6,13,31,0.97);
  border: 1px solid rgba(10,189,227,0.2);
  border-radius: 20px;
  display: flex; flex-direction: column;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  transform-origin: bottom right;
}
.chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}
.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg,rgba(10,189,227,0.1),rgba(95,39,205,0.1));
  border-bottom: 1px solid rgba(10,189,227,0.15);
  border-radius: 20px 20px 0 0;
  display: flex; align-items: center; gap: 12px;
}
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg,#0ABDE3,#10AC84);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #060D1F; font-weight: 800;
  flex-shrink: 0;
}
.chat-header-info h4 { font-size: 0.9rem; margin-bottom: 2px; }
.chat-header-info span { font-size: 0.75rem; color: #8892A4; display: flex; align-items: center; gap: 5px; }
.chat-close-btn { margin-left: auto; background: none; border: none; color: #8892A4; cursor: pointer; font-size: 1rem; padding: 4px; transition: color 0.2s; }
.chat-close-btn:hover { color: #fff; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(10,189,227,0.3); border-radius: 2px; }
.msg { display: flex; gap: 8px; max-width: 90%; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.msg-bot .msg-avatar { background: linear-gradient(135deg,#0ABDE3,#10AC84); color: #060D1F; }
.msg-user .msg-avatar { background: rgba(95,39,205,0.4); color: #a29bfe; }
.msg-bubble { padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; line-height: 1.5; }
.msg-bot .msg-bubble { background: rgba(13,27,62,0.8); border: 1px solid rgba(10,189,227,0.15); color: #C8D6E5; border-radius: 4px 14px 14px 14px; }
.msg-user .msg-bubble { background: linear-gradient(135deg,rgba(10,189,227,0.2),rgba(16,172,132,0.2)); border: 1px solid rgba(10,189,227,0.3); color: #fff; border-radius: 14px 4px 14px 14px; }
.msg-time { font-size: 0.65rem; color: #8892A4; margin-top: 4px; }
.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid rgba(10,189,227,0.1);
  display: flex; gap: 8px; align-items: center;
}
.chat-name-input {
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(10,189,227,0.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter',sans-serif;
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  margin-bottom: 8px;
}
.chat-name-input:focus { border-color: #0ABDE3; }
#chatInput {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(10,189,227,0.15);
  border-radius: 12px;
  color: #fff;
  font-family: 'Inter',sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
#chatInput:focus { border-color: #0ABDE3; background: rgba(10,189,227,0.05); }
.chat-send-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg,#0ABDE3,#10AC84);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: #060D1F;
  transition: all 0.2s; flex-shrink: 0;
}
.chat-send-btn:hover { transform: scale(1.1); }
.chat-info-bar { padding: 8px 16px; background: rgba(10,189,227,0.05); text-align: center; font-size: 0.7rem; color: #8892A4; }
@media(max-width:400px){ .chat-window { width: calc(100vw - 48px); } }

