/* =========================================================
   dwidata.com — Design tokens
   Palette   : deep navy base + electric blue + cyan glow accent
   Display   : Space Grotesk (tech, geometric)
   Body      : Inter
   Utility   : JetBrains Mono (angka, label data)
   Signature : "growth bars" — motif tangga batang dari logo,
               dipakai sebagai divider & elemen statistik.
   ========================================================= */

:root{
  --bg:            #050B14;
  --bg-alt:        #0A1628;
  --surface:       #0F1D33;
  --surface-2:     #122444;
  --line:          rgba(120, 170, 230, 0.14);
  --primary:       #1568C9;
  --primary-2:     #3B8EEA;
  --accent:        #00D9FF;
  --text:          #EAF2FB;
  --text-muted:    #8CA3C4;
  --glow:          rgba(0, 217, 255, 0.25);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,.font-display{
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

a{ text-decoration: none; }

::selection{ background: var(--accent); color: #04121e; }

/* Faint circuit-grid backdrop used behind key sections */
.grid-bg{
  position: relative;
}
.grid-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.section-title{
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: #fff;
}

.section-pad{ padding: 6rem 0; }

.text-muted-custom{ color: var(--text-muted); }

/* =========================================================
   Utility bar (top strip)
   ========================================================= */
.top-bar{
  background: #030810;
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  padding: .45rem 0;
}
.top-bar a{
  color: var(--text-muted);
  transition: color .2s;
}
.top-bar a:hover{ color: var(--accent); }
.top-bar .social-icons a{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-left: .4rem;
  color: var(--text-muted);
  transition: all .25s;
}
.top-bar .social-icons a:hover{
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar-dwidata{
  padding: .9rem 0;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.navbar-dwidata.is-scrolled{
  padding: .55rem 0;
  background: rgba(5, 11, 20, 0.92);
  border-bottom: 1px solid var(--line);
}
.navbar-brand-dwidata{
  display: flex;
  align-items: center;
  gap: .6rem;
}
.navbar-brand-dwidata img{
  height: 38px;
  filter: drop-shadow(0 0 10px var(--glow));
}
.navbar-brand-dwidata .brand-text{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}
.navbar-brand-dwidata .brand-text span{ color: var(--accent); }

.nav-dwidata .nav-link{
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: .95rem;
  margin: 0 .35rem;
  position: relative;
  padding: .5rem .2rem !important;
}
.nav-dwidata .nav-link::after{
  content:"";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: width .25s;
}
.nav-dwidata .nav-link:hover,
.nav-dwidata .nav-link.active{ color: #fff !important; }
.nav-dwidata .nav-link:hover::after,
.nav-dwidata .nav-link.active::after{ width: 100%; }

.btn-glow{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border: none;
  padding: .55rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 0 0 rgba(0,217,255,0);
  transition: box-shadow .3s, transform .2s;
}
.btn-glow:hover{
  color: #fff;
  box-shadow: 0 0 24px var(--glow);
  transform: translateY(-1px);
}
.btn-outline-glow{
  border: 1px solid var(--line);
  color: var(--text);
  padding: .55rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .92rem;
  transition: all .25s;
}
.btn-outline-glow:hover{
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* =========================================================
   Hero / Slider
   ========================================================= */
.hero-slider{ margin-top: 0; }
.hero-slide{
  height: 92vh;
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before{
  content:"";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,20,.55) 0%, rgba(5,11,20,.75) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(5,11,20,.92) 0%, rgba(5,11,20,.35) 60%);
}
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-content h1{
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.hero-content p{
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 1.9rem;
}
.hero-slider .carousel-indicators{
  bottom: 2.2rem;
  justify-content: flex-start;
  margin-left: max(1rem, calc((100% - 1200px)/2 + .75rem));
}
.hero-slider .carousel-indicators [data-bs-target]{
  width: 34px; height: 3px;
  background: rgba(255,255,255,.28);
  border: none;
  opacity: 1;
}
.hero-slider .carousel-indicators .active{
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero-scroll-cue{
  position: absolute;
  bottom: 1.6rem; right: 2rem;
  z-index: 2;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  display: none;
}
@media (min-width: 992px){ .hero-scroll-cue{ display: flex; align-items: center; gap: .5rem; } }

/* =========================================================
   Signature motif: growth bars (echoes the logo)
   ========================================================= */
.growth-divider{
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 26px;
  margin-bottom: 1.2rem;
}
.growth-divider span{
  width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 2px;
  box-shadow: 0 0 6px var(--glow);
}
.growth-divider span:nth-child(1){ height: 40%; }
.growth-divider span:nth-child(2){ height: 65%; }
.growth-divider span:nth-child(3){ height: 100%; }
.growth-divider span:nth-child(4){ height: 55%; }

/* =========================================================
   Services
   ========================================================= */
.service-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.1rem 1.7rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, background .3s;
}
.service-card::before{
  content:"";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover{
  transform: translateY(-6px);
  border-color: rgba(0, 217, 255, .35);
  background: var(--surface-2);
}
.service-card:hover::before{ opacity: 1; }
.service-icon{
  width: 54px; height: 54px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(21, 104, 201, .18);
  border: 1px solid rgba(59, 142, 234, .3);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
}
.service-card h3{
  font-size: 1.12rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: .6rem;
}
.service-card p{
  color: var(--text-muted);
  font-size: .93rem;
  margin: 0;
}

/* =========================================================
   Products
   ========================================================= */
.product-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: transform .3s, border-color .3s;
}
.product-card:hover{
  transform: translateY(-6px);
  border-color: rgba(0, 217, 255, .35);
}
.product-card .product-media{
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.product-card .product-media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.product-card:hover .product-media img{ transform: scale(1.06); }
.product-badge{
  position: absolute; top: 14px; left: 14px;
  background: rgba(5,11,20,.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--glow);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  padding: .28rem .7rem;
  border-radius: 30px;
}
.product-card .product-body{ padding: 1.5rem 1.5rem 1.7rem; }
.product-card h3{ color: #fff; font-size: 1.2rem; margin-bottom: .55rem; }
.product-card p{ color: var(--text-muted); font-size: .93rem; margin-bottom: 1.1rem; }
.product-link{
  color: var(--accent);
  font-size: .88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.product-link i{ transition: transform .25s; }
.product-link:hover i{ transform: translateX(4px); }

/* =========================================================
   Informasi — stats + articles
   ========================================================= */
.stats-panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem;
}
.stat-item{ text-align: left; }
.stat-bar-track{
  height: 90px;
  display: flex;
  align-items: flex-end;
  margin-bottom: .9rem;
}
.stat-bar{
  width: 34px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 4px 4px 0 0;
  height: 0%;
  box-shadow: 0 0 14px var(--glow);
  transition: height 1.1s cubic-bezier(.2,.8,.2,1);
}
.stat-value{
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
}
.stat-label{
  color: var(--text-muted);
  font-size: .85rem;
}

.article-card{
  display: flex;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.article-card:last-child{ border-bottom: none; }
.article-date{
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--accent);
  white-space: nowrap;
  padding-top: .2rem;
  min-width: 78px;
}
.article-card h4{
  font-size: 1.02rem;
  color: #fff;
  margin-bottom: .35rem;
  font-weight: 600;
}
.article-card p{
  color: var(--text-muted);
  font-size: .88rem;
  margin: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.footer-dwidata{
  background: #030810;
  border-top: 1px solid var(--line);
  padding-top: 4rem;
}
.footer-dwidata h5{
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-dwidata p, .footer-dwidata li, .footer-dwidata a{
  color: var(--text-muted);
  font-size: .9rem;
}
.footer-dwidata ul{ list-style: none; padding: 0; margin: 0; }
.footer-dwidata ul li{ margin-bottom: .65rem; }
.footer-dwidata a:hover{ color: var(--accent); }
.footer-social a{
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-right: .5rem;
  color: var(--text-muted);
  transition: all .25s;
}
.footer-social a:hover{
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}
.footer-bottom{
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 1.3rem 0;
  font-size: .82rem;
  color: var(--text-muted);
}

/* Scroll reveal — only hides content once JS confirms it can reveal it again.
   Without the .js class (script blocked/offline/failed) everything stays visible. */
.js .reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px){
  .section-pad{ padding: 4rem 0; }
  .hero-slide{ height: auto; padding: 7rem 0 4rem; }
}


/* ================= SERVICE PAGE ================= */

.service-hero {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.service-hero .section-title {
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 20px 0;
}

.text-gradient {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-hero-icon {
    font-size: 180px;
    color: var(--primary, #1688e8);
    opacity: 0.8;
}

.service-features {
    font-size: 0.9rem;
    color: var(--text-muted, #999);
}

.service-features i {
    margin-top: 3px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 18px;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.service-card h3 {
    margin-top: 18px;
    margin-bottom: 12px;
}

.service-card p {
    line-height: 1.8;
}

@media (max-width: 767px) {

    .service-hero {
        padding: 75px 0;
    }

    .service-hero-icon {
        font-size: 110px;
    }

    .service-card {
        padding: 24px;
    }

}


/* =========================
   HALAMAN PRODUK
========================= */

.product-hero {
    padding: 100px 20px 90px;
    background: linear-gradient(135deg, #eef5ff, #ffffff);
}

.product-hero h1 {
    max-width: 850px;
    margin: 20px auto;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #172554;
}

.product-hero p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: #64748b;
    line-height: 1.8;
}

.product-label,
.section-heading span {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.text-gradient {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.product-section {
    padding: 85px 0;
    background: #fff;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    margin: 12px 0;
    color: #172554;
    font-size: 32px;
    font-weight: 800;
}

.section-heading p {
    color: #64748b;
}

.product-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, .05);
    transition: .3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, .12);
}

.product-image {
    height: 210px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f6ff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-content {
    padding: 25px;
}

.product-category {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.product-content h3 {
    min-height: 55px;
    color: #172554;
    font-size: 20px;
    font-weight: 700;
}

.product-content p {
    min-height: 75px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.product-content h6 {
    margin-top: 18px;
    color: #172554;
    font-weight: 700;
}

.product-content ul {
    min-height: 125px;
    padding: 0;
    list-style: none;
}

.product-content li {
    margin: 9px 0;
    color: #475569;
    font-size: 13px;
}

.product-content li i {
    margin-right: 7px;
    color: #16a34a;
}

.btn-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #fff;
    background: #2563eb;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.btn-product:hover {
    color: #fff;
    background: #1d4ed8;
}

.product-benefit {
    padding: 80px 0;
    background: #f8fafc;
}

.benefit-card {
    height: 100%;
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
}

.benefit-card i {
    display: inline-block;
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 35px;
}

.benefit-card h4 {
    color: #172554;
    font-size: 18px;
    font-weight: 700;
}

.benefit-card p {
    margin-bottom: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.product-cta {
    padding: 75px 20px;
    color: #fff;
    background: linear-gradient(120deg, #1d4ed8, #0891b2);
}

.product-cta h2 {
    font-size: 32px;
    font-weight: 800;
}

.product-cta p {
    margin: 15px auto 25px;
    max-width: 650px;
    color: #e0f2fe;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .product-hero {
        padding: 70px 20px;
    }

    .product-section,
    .product-benefit {
        padding: 60px 0;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .product-content h3,
    .product-content p,
    .product-content ul {
        min-height: auto;
    }

    .product-cta h2 {
        font-size: 26px;
    }
}
