@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#06111F;
  --bg-alt:#0B1F33;
  --surface:rgba(255,255,255,0.03);
  --surface-2:#0B1F33;
  --border:rgba(255,255,255,0.08);
  --text:#F8FAFC;
  --muted:#94A3B8;
  --blue:#2F6BFF;
  --cyan:#22D3EE;
  --green:#22C55E;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--bg); color:var(--text); font-family:'Inter', sans-serif; line-height:1.6;}
a{color:inherit; text-decoration:none;}
.container{max-width:1180px; margin:0 auto; padding:0 24px;}
.container-narrow{max-width:760px;}
ul{list-style:none;}

/* ---------- Top bar ---------- */
.top-bar{background:rgba(34,197,94,0.06); border-bottom:1px solid rgba(34,197,94,0.18);}
.top-bar-content{display:flex; justify-content:space-between; align-items:center; padding:7px 24px; font-size:12px; flex-wrap:wrap; gap:6px;}
.status-indicator{display:flex; align-items:center; gap:7px; font-weight:600; color:var(--green);}
.status-indicator .dot{width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 6px var(--green); animation:pulse 1.8s ease-in-out infinite;}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:0.4;}}
.contact-info{color:var(--muted);}

/* ---------- Navbar ---------- */
.navbar{position:sticky; top:0; z-index:100; background:rgba(6,17,31,0.85); backdrop-filter:blur(14px); border-bottom:1px solid var(--border);}
.nav-container{display:flex; align-items:center; justify-content:space-between; padding:14px 24px; gap:20px;}
.brand{display:flex; align-items:center; gap:9px; font-weight:800; font-size:17px;}
.brand .logo{width:28px; height:28px; object-fit:contain; flex-shrink:0;}
.brand-accent{color:var(--cyan);}
.nav-links{display:flex; gap:30px; font-size:14.5px; color:var(--muted); font-weight:500;}
.nav-links a:hover{color:var(--text);}
.nav-actions{display:flex; align-items:center; gap:16px;}
.phone-link{font-size:13px; color:var(--muted); font-weight:600; white-space:nowrap;}
.phone-link:hover{color:var(--text);}
.hamburger{display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;}
.hamburger span{width:22px; height:2px; background:var(--text); border-radius:2px;}
.mobile-menu{display:none; flex-direction:column; padding:10px 24px 20px; gap:4px; border-top:1px solid var(--border);}
.mobile-menu a{padding:12px 0; font-size:15px; color:var(--muted); border-bottom:1px solid var(--border);}
.mobile-menu.open{display:flex;}
.mobile-menu .btn{margin-top:12px;}

@media (max-width:900px){
  .nav-links, .nav-actions{display:none;}
  .hamburger{display:flex;}
}

/* ---------- Buttons ---------- */
.btn{font-family:inherit; font-weight:700; font-size:14px; padding:12px 22px; border-radius:9px; border:none; cursor:pointer; display:inline-block; text-align:center; transition:transform 0.2s, border-color 0.2s;}
.btn-primary{color:#06111F; background:linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow:0 4px 20px rgba(47,107,255,0.28);}
.btn-primary:hover{transform:translateY(-2px);}
.btn-secondary{color:var(--text); background:var(--surface); border:1px solid var(--border);}
.btn-secondary:hover{border-color:var(--muted);}
.btn-outline{color:var(--text); background:transparent; border:1px solid var(--border);}
.btn-outline:hover{border-color:var(--cyan);}
.btn-lg{padding:15px 28px; font-size:15px;}
.btn-block{width:100%;}

/* ---------- Hero ---------- */
.hero{padding:80px 24px 70px;}
.hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:60px; align-items:center;}
.badge{display:inline-block; font-size:12.5px; font-weight:700; color:var(--cyan); background:rgba(34,211,238,0.08); border:1px solid rgba(34,211,238,0.25); padding:7px 14px; border-radius:20px; margin-bottom:24px;}
.hero-text h1{font-size:clamp(32px,4.6vw,52px); font-weight:800; line-height:1.12; letter-spacing:-1px;}
.hero-text h1 span{background:linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero-text > p{color:var(--muted); font-size:17px; max-width:500px; margin-top:20px;}
.hero-actions{display:flex; gap:14px; margin-top:32px; flex-wrap:wrap;}
.hero-trust-list{display:flex; gap:20px; margin-top:28px; flex-wrap:wrap; font-size:13.5px; color:var(--muted); font-weight:500;}

.hero-card{background:rgba(11,31,51,0.6); backdrop-filter:blur(16px); border:1px solid var(--border); border-radius:16px; padding:24px; box-shadow:0 20px 60px rgba(0,0,0,0.35);}
.hero-card-header{display:flex; justify-content:space-between; align-items:center; padding-bottom:14px; border-bottom:1px solid var(--border); margin-bottom:16px;}
.card-title{font-size:13px; font-weight:600; color:var(--muted);}
.badge-online{font-size:11px; font-weight:700; color:var(--green); background:rgba(34,197,94,0.1); padding:4px 10px; border-radius:12px;}
.chat-bubble{max-width:85%; padding:11px 15px; border-radius:12px; font-size:13.5px; margin-bottom:12px; line-height:1.5;}
.user-bubble{background:linear-gradient(135deg, var(--blue), var(--cyan)); color:#06111F; font-weight:500; margin-left:auto; border-bottom-right-radius:4px;}
.ai-bubble{background:var(--surface-2); border:1px solid var(--border); border-bottom-left-radius:4px;}

/* ---------- Section shell ---------- */
section{padding:80px 24px;}
.section-header{max-width:600px; margin:0 auto 48px; text-align:center;}
.section-tag{font-size:12.5px; font-weight:700; letter-spacing:2px; color:var(--cyan); text-transform:uppercase; margin-bottom:14px; display:block;}
.section-header h2{font-size:clamp(26px,3.2vw,36px); font-weight:800; letter-spacing:-0.6px; margin-bottom:14px;}
.section-header p{color:var(--muted); font-size:15.5px;}

/* ---------- Services ---------- */
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.service-card{background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:28px; transition:transform 0.25s, border-color 0.25s;}
.service-card:hover{transform:translateY(-4px); border-color:rgba(47,107,255,0.5);}
.service-icon{font-size:26px; margin-bottom:16px;}
.service-card h3{font-size:16.5px; font-weight:700; margin-bottom:8px;}
.service-card p{color:var(--muted); font-size:13.8px;}

/* ---------- About ---------- */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center;}
.about-grid p{color:var(--muted); font-size:15px; margin-bottom:14px;}
.about-stats{display:flex; flex-direction:column; border:1px solid var(--border); border-radius:14px; overflow:hidden;}
.about-stat{display:flex; flex-direction:column; padding:20px 24px; border-bottom:1px solid var(--border); background:var(--surface);}
.about-stat:last-child{border-bottom:none;}
.about-stat .k{font-weight:700; color:var(--cyan); font-size:13.5px;}
.about-stat .v{font-size:14px; color:var(--muted); margin-top:5px;}

/* ---------- Ticket / steps ---------- */
.steps-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:50px;}
.step-card{background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:28px;}
.step-number{width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg, var(--blue), var(--cyan)); color:#06111F; font-weight:800; display:flex; align-items:center; justify-content:center; margin-bottom:16px; font-size:14px;}
.step-card h3{font-size:16px; font-weight:700; margin-bottom:8px;}
.step-card p{color:var(--muted); font-size:13.5px;}

.ticket-form{max-width:640px; margin:0 auto; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:32px;}
.form-row{margin-bottom:16px;}
.form-row-split{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.form-row label{display:block; font-size:12px; font-weight:600; letter-spacing:0.5px; color:var(--muted); text-transform:uppercase; margin-bottom:8px;}
.form-row input, .form-row select, .form-row textarea{width:100%; background:var(--surface-2); border:1px solid var(--border); color:var(--text); padding:12px 14px; border-radius:8px; font-family:inherit; font-size:14px;}
.form-row textarea{resize:vertical; min-height:80px;}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{outline:2px solid var(--cyan); outline-offset:1px;}
.ticket-confirm{display:none; margin-top:16px; padding:14px 16px; background:var(--surface-2); border:1px solid var(--cyan); border-radius:8px; font-size:13.5px;}
.ticket-confirm .tnum{font-weight:700; color:var(--cyan);}
.kb-suggest{display:none; margin:-8px 0 16px; padding:14px 16px; background:rgba(34,211,238,0.06); border:1px solid rgba(34,211,238,0.25); border-radius:8px; font-size:13.5px; line-height:1.5;}
.kb-suggest.show{display:block;}
.kb-suggest .kb-label{font-weight:700; color:var(--cyan); font-size:12px; text-transform:uppercase; letter-spacing:0.5px; margin-bottom:6px; display:block;}

@media (max-width:600px){ .form-row-split{grid-template-columns:1fr;} }

/* ---------- Pricing ---------- */
.pricing-grid{display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:820px; margin:0 auto;}
.pricing-card{background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:32px; position:relative;}
.pricing-card.featured{background:linear-gradient(180deg, rgba(47,107,255,0.1), rgba(11,31,51,0.5)); border-color:rgba(47,107,255,0.4);}
.badge-featured{position:absolute; top:-12px; right:24px; background:linear-gradient(135deg, var(--blue), var(--cyan)); color:#06111F; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:1px; padding:5px 12px; border-radius:20px;}
.pricing-card h3{font-size:19px; font-weight:700; margin-bottom:8px;}
.pricing-card > p{color:var(--muted); font-size:13.5px; margin-bottom:20px;}
.price{font-size:22px; font-weight:800; margin-bottom:20px;}
.pricing-card ul{margin-bottom:26px;}
.pricing-card li{font-size:14px; color:var(--text); padding:8px 0;}
@media (max-width:700px){ .pricing-grid{grid-template-columns:1fr;} }

/* ---------- FAQ ---------- */
.faq-item{border-bottom:1px solid var(--border);}
.faq-q{width:100%; background:none; border:none; color:var(--text); font-size:15.5px; font-weight:600; padding:20px 0; display:flex; justify-content:space-between; align-items:center; text-align:left; font-family:inherit; cursor:pointer;}
.faq-q .plus{transition:transform 0.25s; color:var(--cyan); font-size:20px;}
.faq-item.open .faq-q .plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height 0.35s ease;}
.faq-item.open .faq-a{max-height:200px;}
.faq-a p{color:var(--muted); font-size:14.5px; padding-bottom:20px;}

/* ---------- Footer ---------- */
.footer{padding:50px 24px 30px; border-top:1px solid var(--border);}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px; margin-bottom:40px;}
.footer-grid .brand{margin-bottom:12px;}
.footer-grid p{color:var(--muted); font-size:13.5px; max-width:260px;}
.footer-grid h4{font-size:13px; font-weight:700; margin-bottom:14px; color:var(--muted); text-transform:uppercase; letter-spacing:0.5px;}
.footer-grid > div > a{display:block; margin-bottom:9px; font-size:14px; color:var(--muted);}
.footer-grid > div > a:hover{color:var(--text);}
.footer-bottom{padding-top:26px; border-top:1px solid var(--border);}
.footer-bottom p{color:var(--muted); font-size:13px; line-height:1.8;}
.footer-bottom a{color:var(--muted);}
.footer-bottom a:hover{color:var(--text);}

/* ---------- AI Drawer ---------- */
.drawer-overlay{position:fixed; inset:0; background:rgba(0,0,0,0.5); opacity:0; pointer-events:none; transition:opacity 0.3s; z-index:200;}
.drawer-overlay.open{opacity:1; pointer-events:auto;}
.ai-drawer{position:fixed; top:0; right:-420px; width:400px; max-width:92vw; height:100vh; height:100dvh; background:var(--bg-alt); border-left:1px solid var(--border); z-index:201; display:flex; flex-direction:column; transition:right 0.35s ease; box-shadow:-10px 0 40px rgba(0,0,0,0.4);}
.ai-drawer.open{right:0;}
.drawer-header{display:flex; justify-content:space-between; align-items:center; padding:20px; border-bottom:1px solid var(--border);}
.drawer-title{display:flex; align-items:center; gap:10px;}
.drawer-title h3{font-size:15px; font-weight:700;}
.status-dot{width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 6px var(--green);}
.drawer-close{background:none; border:none; color:var(--muted); font-size:18px; cursor:pointer; padding:4px 8px;}
.drawer-close:hover{color:var(--text);}
.drawer-body{flex:1; overflow-y:auto; padding:20px;}
.quick-prompts{display:flex; flex-wrap:wrap; gap:8px; margin:16px 0;}
.quick-prompts span{font-size:12.5px; background:var(--surface); border:1px solid var(--border); padding:8px 13px; border-radius:20px; color:var(--muted); cursor:pointer; transition:border-color 0.2s, color 0.2s;}
.quick-prompts span:hover{border-color:var(--cyan); color:var(--text);}
.chat-messages{display:flex; flex-direction:column; gap:12px;}
.chat-messages .chat-bubble{max-width:90%;}
.drawer-footer{padding:16px 20px; border-top:1px solid var(--border);}
.input-group{display:flex; gap:8px; margin-bottom:10px;}
.input-group input{flex:1; background:var(--surface-2); border:1px solid var(--border); color:var(--text); padding:11px 14px; border-radius:8px; font-family:inherit; font-size:13.5px;}
.input-group input:focus{outline:2px solid var(--cyan); outline-offset:1px;}
.drawer-note{font-size:12.5px; color:var(--muted);}
.drawer-note a{color:var(--cyan);}

@media (max-width:900px){
  .hero-grid, .about-grid{grid-template-columns:1fr;}
  .services-grid, .steps-grid{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .services-grid, .steps-grid, .footer-grid{grid-template-columns:1fr;}
  .ai-drawer{width:100%; max-width:100vw;}
}

.training-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.training-card { border: 1px solid var(--border); padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,0.03); }
.training-icon { font-size: 2rem; margin-bottom: 10px; }
.training-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.training-card p { color: var(--text-muted); font-size: 0.87rem; margin-bottom: 14px; min-height: 60px; }
.training-meta { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 600; color: #2563eb; margin-bottom: 14px; }
@media (max-width: 900px) { .training-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .training-grid { grid-template-columns: 1fr; } }

.tech-bio { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); }
.tech-bio h3 { font-size: 1.3rem; margin-bottom: 14px; }
.tech-bio > p { color: var(--text-muted); margin-bottom: 24px; max-width: 760px; }
.tech-bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 20px; }
.tech-bio-grid h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; color: #2563eb; margin-bottom: 10px; }
.tech-bio-grid ul { list-style: none; }
.tech-bio-grid li { font-size: 0.9rem; color: var(--text-main); padding: 6px 0; padding-left: 18px; position: relative; }
.tech-bio-grid li::before { content: '✓'; position: absolute; left: 0; color: #2563eb; font-weight: 700; }
.tech-bio-closing { font-style: italic; color: var(--text-muted); font-size: 0.9rem; }
@media (max-width: 700px) { .tech-bio-grid { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  section { padding: 44px 20px; }
  .section-header { margin-bottom: 28px; }
  .services-grid, .steps-grid, .training-grid, .pricing-grid { gap: 14px; }
  .service-card, .step-card, .training-card, .pricing-card { padding: 20px; }
}

.pricing-trust { font-size: 0.82rem; color: #2563eb; font-weight: 600; margin-bottom: 20px; line-height: 1.5; }

.news-section { padding: 0 24px 60px; }
.news-wrap { display: flex; justify-content: flex-end; }
.news-widget { width: 100%; max-width: 420px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 20px; }
.news-widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.news-widget-header h3 { font-size: 1.05rem; }
.news-updated { font-size: 0.72rem; color: var(--text-muted); }
.news-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.news-tab { font-size: 0.75rem; font-weight: 600; padding: 6px 10px; border-radius: 14px; border: 1px solid var(--border); background: #f8fafc; color: var(--text-muted); cursor: pointer; }
.news-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.news-list { display: flex; flex-direction: column; gap: 12px; max-height: 420px; overflow-y: auto; }
.news-item { padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: none; }
.news-item a { font-size: 0.86rem; font-weight: 600; color: var(--text-main); line-height: 1.4; display: block; margin-bottom: 4px; }
.news-item a:hover { color: var(--primary); }
.news-item .news-source { font-size: 0.72rem; color: var(--text-muted); }
.news-loading, .news-empty { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 900px) { .news-wrap { justify-content: center; } .news-widget { max-width: 100%; } }

/* News widget - corrected to match dark theme variables */
.news-widget { background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); }
.news-widget-header h3 { color: var(--text); }
.news-updated { color: var(--muted); }
.news-tab { background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.news-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.news-item { border-bottom: 1px solid var(--border); }
.news-item a { color: var(--text); }
.news-item a:hover { color: var(--cyan); }
.news-item .news-source { color: var(--muted); }
.news-loading, .news-empty { color: var(--muted); }

/* Tighten overall page spacing */
section { padding: 52px 24px; }
.section-header { margin-bottom: 32px; }
.hero { padding: 52px 24px 24px; }
.news-section { padding: 0 24px 32px; }

/* Fix hero/news column height mismatch and shrink oversized list */
.hero-grid { align-items: start; }
.news-list { max-height: 300px; }
.news-widget { margin-top: 0; }

/* Uniform icon badges - matching size/style across all cards */
.service-icon, .training-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(47, 107, 255, 0.1);
  border: 1px solid rgba(47, 107, 255, 0.25);
  border-radius: 10px;
  margin-bottom: 14px;
}
.service-card, .training-card { display: flex; flex-direction: column; }

/* Shrink news widget further to match hero text column height */
.news-list { max-height: 190px; }
.news-item { padding-bottom: 8px; }
.news-widget { padding: 16px; }
.news-tabs { margin-bottom: 10px; }

/* Hero right column - card + news widget stacked together */
.hero-right-col { display: flex; flex-direction: column; gap: 16px; }
