/* =========================================
   HASTAMA MULTI SOLUTION - Company Website
   ========================================= */

:root {
  --accent: #0d6efd;
  --accent-dark: #0a58ca;
  --accent-light: #e8f0fe;
  --dark: #0f172a;
  --dark2: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --icon-color: var(--accent);
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

/* ---- COLORS ---- */
.text-accent { color: var(--accent) !important; }
.text-white-75 { color: rgba(255,255,255,0.75); }
.text-white-50 { color: rgba(255,255,255,0.5); }
.text-gradient {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-weight: 600;
  transition: all .25s;
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,110,253,.35);
}
.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 8px;
  font-weight: 600;
  transition: all .25s;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
}
.badge-accent {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.25);
}

/* ---- NAVBAR ---- */
#mainNav {
  background: transparent;
  transition: all .35s;
  padding: 1rem 0;
}
#mainNav.scrolled {
  background: var(--dark) !important;
  padding: .6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
#mainNav .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  border-radius: 6px;
  padding: .4rem .8rem;
  transition: all .2s;
}
#mainNav .nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
#mainNav .btn-accent { font-size: .9rem; }

.brand-logo {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
}
.brand-text { color: #fff; font-weight: 700; font-size: 1.2rem; }

/* ---- HERO ---- */
.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d6efd22 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d6efd' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; }
.min-vh-80 { min-height: 80vh; padding: 5rem 0 6rem; }

/* Hero Stats */
.hero-stats { padding-top: 1rem; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: .2rem; }
.stat-divider { width: 1px; background: rgba(255,255,255,.2); align-self: stretch; }

/* Hero Illustration */
.hero-illustration {
  position: relative;
  width: 380px; height: 380px;
  margin: 0 auto;
}
.tech-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: #fff;
  box-shadow: 0 0 60px rgba(13,110,253,.4);
}
.tech-circle {
  position: absolute;
  width: 64px; height: 64px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: rgba(255,255,255,.8);
  animation: float 3s ease-in-out infinite;
}
.tc-1 { top: 30px; left: 30px; animation-delay: 0s; }
.tc-2 { top: 30px; right: 30px; animation-delay: .7s; }
.tc-3 { bottom: 30px; left: 30px; animation-delay: 1.4s; }
.tc-4 { bottom: 30px; right: 30px; animation-delay: 2.1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- SECTIONS ---- */
.section-padding { padding: 80px 0; }
.section-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .8rem; font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.section-tag-light {
  display: inline-block;
  background: rgba(13,110,253,.2);
  color: #60a5fa;
  font-size: .8rem; font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 50px;
  text-transform: uppercase;
}
.section-title { font-size: 2.2rem; font-weight: 800; margin: .5rem 0; }
.section-subtitle { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Advantage Cards */
.advantage-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all .25s;
}
.advantage-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-3px); }

/* ---- SERVICES ---- */
.service-icon-bg {
  width: 64px; height: 64px;
  background: color-mix(in srgb, var(--icon-color, var(--accent)) 12%, transparent);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--icon-color, var(--accent));
}
.service-number {
  font-size: 3rem; font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
}
.feature-item { font-size: .9rem; color: #475569; }
.mb-6 { margin-bottom: 4rem; }

/* Service Visuals */
.service-visual {
  background: #f1f5f9;
  border-radius: 20px;
  padding: 2rem;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* App Visual */
.sv-window {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  width: 100%; max-width: 360px;
  overflow: hidden;
}
.sv-topbar {
  background: #e2e8f0; padding: .5rem .8rem;
  display: flex; gap: 6px; align-items: center;
}
.sv-topbar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #94a3b8;
}
.sv-topbar span:nth-child(1) { background: #f87171; }
.sv-topbar span:nth-child(2) { background: #fbbf24; }
.sv-topbar span:nth-child(3) { background: #34d399; }
.sv-body { display: flex; }
.sv-sidebar { width: 50px; background: var(--dark); min-height: 180px; }
.sv-content { flex: 1; padding: 1rem; }
.sv-card { height: 18px; background: #e2e8f0; border-radius: 4px; margin-bottom: 8px; }
.sv-card.short { width: 60%; }
.sv-row { display: flex; gap: 6px; margin-bottom: 12px; }
.sv-bar { height: 10px; background: #cbd5e1; border-radius: 3px; }
.sv-bar.w60 { width: 60%; }
.sv-bar.w30 { width: 30%; }
.sv-chart { display: flex; gap: 6px; align-items: flex-end; height: 60px; }
.sv-bar-v { width: 16px; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .7; }
.sv-bar-v.h60 { height: 60%; }
.sv-bar-v.h80 { height: 80%; opacity: 1; }
.sv-bar-v.h40 { height: 40%; }
.sv-bar-v.h90 { height: 90%; background: #6366f1; opacity: 1; }
.sv-bar-v.h55 { height: 55%; }

/* Net Visual */
.net-visual { flex-direction: column; }
.net-diagram { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 100%; }
.net-node {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border: 2px solid var(--border);
  border-radius: 12px; padding: .6rem 1rem;
  font-size: .7rem; font-weight: 600; color: #475569;
  gap: 4px; transition: all .2s;
}
.net-node i { font-size: 1.4rem; color: var(--accent); }
.net-node.router i { color: #f59e0b; }
.net-node.ap i { color: #10b981; }
.net-switch-row, .net-device-row { display: flex; gap: 1rem; justify-content: center; }
.net-device-row .net-node { padding: .5rem .7rem; }
.net-device-row .net-node i { font-size: 1.1rem; }
.net-line { background: #cbd5e1; }
.line-h { height: 2px; width: 60%; }
.line-v { height: 20px; width: 2px; }

/* Support Visual */
.support-cards { display: flex; flex-direction: column; gap: .75rem; width: 100%; max-width: 360px; }
.sup-card {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border-radius: 10px; padding: .75rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border-left: 3px solid #cbd5e1;
}
.sup-card.open { border-left-color: #f59e0b; }
.sup-icon { font-size: 1.4rem; }
.sup-title { font-size: .85rem; font-weight: 600; }
.sup-meta { font-size: .72rem; color: var(--text-muted); }

/* ---- PRODUCTS ---- */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex; flex-direction: column;
  transition: all .3s;
}
.product-card:hover {
  box-shadow: 0 12px 32px rgba(13,110,253,.12);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.product-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--accent);
  margin-bottom: 1rem;
}
.product-list {
  list-style: none; padding: 0; margin: .5rem 0 1rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.product-list li {
  font-size: .85rem; color: #475569;
  padding-left: 1.2rem; position: relative;
}
.product-list li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* ---- PORTFOLIO ---- */
.portfolio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
  height: 100%; transition: all .3s;
}
.portfolio-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.port-tag {
  font-size: .72rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: .5rem;
}
.port-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.port-desc { line-height: 1.5; }
.port-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.port-chip {
  background: var(--accent-light); color: var(--accent);
  font-size: .72rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 50px;
}
.port-cta {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f8faff, #eff4ff);
  border: 2px dashed var(--accent);
}
.port-cta-inner { text-align: center; }

/* ---- ABOUT ---- */
.bg-dark-custom { background: var(--dark); }
.about-stat {
  display: flex; align-items: flex-start; gap: .75rem;
  background: rgba(255,255,255,.05);
  border-radius: 10px; padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.08);
}
.values-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.value-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 1.25rem;
  transition: all .25s;
}
.value-card:hover { background: rgba(255,255,255,.09); }
.value-card i { font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: .5rem; }
.value-card h6 { color: #fff; font-weight: 700; margin-bottom: .25rem; }
.value-card p { color: rgba(255,255,255,.5); font-size: .8rem; margin: 0; }

/* ---- CONTACT ---- */
.contact-info-card {
  background: #f8faff;
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
}
.ci-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.ci-item:last-child { border-bottom: none; }
.ci-icon {
  width: 40px; height: 40px;
  background: var(--accent-light); color: var(--accent);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.ci-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }
.ci-value { font-size: .9rem; font-weight: 500; color: #1e293b; text-decoration: none; }
a.ci-value:hover { color: var(--accent); }

.social-btn {
  width: 40px; height: 40px;
  background: var(--accent-light); color: var(--accent);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem;
  text-decoration: none; transition: all .2s;
}
.social-btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.social-btn.wa { background: #dcfce7; color: #16a34a; }
.social-btn.wa:hover { background: #16a34a; color: #fff; }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.form-control, .form-select {
  border-radius: 8px;
  border: 1.5px solid var(--border);
  padding: .65rem 1rem;
  font-size: .9rem;
  transition: border-color .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,110,253,.1);
}

/* ---- FOOTER ---- */
.footer-section { background: var(--dark); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }

/* ---- WA FLOAT ---- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  animation: wa-pulse 2s ease-in-out infinite;
  transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.1); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.45); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.8); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-illustration { width: 260px; height: 260px; }
  .tech-center { width: 70px; height: 70px; font-size: 1.6rem; }
  .tech-circle { width: 48px; height: 48px; font-size: 1.1rem; }
  .section-title { font-size: 1.7rem; }
  .values-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 56px 0; }
}
