/*
Theme Name: IDISOFT.dev
Theme URI: https://idisoft.dev
Author: Inovasi Digital Indonesia
Author URI: https://idisoft.dev
Description: Tema WordPress custom untuk IDISOFT.dev — perusahaan konsultan IT yang membantu bisnis dan institusi di Indonesia menyusun strategi teknologi, mengintegrasikan sistem enterprise, dan mengeksekusi solusi digital. Gaya visual terinspirasi dari Datadog (tema terang, aksen ungu, dashboard mockup miring).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: idisoft
*/

:root{
  --bg: #ffffff;
  --bg-soft: #f7f5fb;
  --surface: #ffffff;
  --surface-2: #f4f1fa;
  --border: #e7e3f2;
  --text: #14121f;
  --text-muted: #5c5768;
  --text-dim: #928da3;
  --purple: #c1272d;
  --purple-deep: #7a0f14;
  --purple-light: #e2555b;
  --blue: #8a1116;
  --pink: #e0457a;
  --green: #1f9e6d;
  --amber: #e0932e;
  --grad-banner: linear-gradient(90deg, #7a0f14 0%, #c1272d 100%);
  --grad-btn: linear-gradient(120deg, var(--purple) 0%, #e2555b 100%);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-soft: 0 20px 60px -20px rgba(122,15,20,0.18);
}

*{margin:0; padding:0; box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul{list-style:none;}
.wrap{max-width: 1200px; margin: 0 auto; padding: 0 32px;}
section{position:relative;}
::selection{background: var(--purple); color:#fff;}

.reveal{opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:none;}

/* ---------- announcement banner ---------- */
.announce{
  background: var(--grad-banner);
  color: #fff; text-align:center;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
  padding: 11px 20px;
}
.announce a{ text-decoration: underline; text-underline-offset:2px; color:#fff; }

/* ---------- header ---------- */
header.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
nav.main-nav{
  max-width: 1200px; margin:0 auto; padding: 16px 32px;
  display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; gap:20px;
}
.nav-left{ display:flex; gap:30px; font-size:13.5px; font-weight:700; letter-spacing:0.02em; color: var(--text); }
.nav-left ul{ display:flex; gap:30px; }
.nav-left a{ text-transform:uppercase; transition: color .2s; padding: 6px 0; position:relative; display:inline-block;}
.nav-left a:hover{ color: var(--purple); }
.logo{
  display:flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-display); font-weight:700; font-size:19px; letter-spacing:-0.01em;
  color: var(--purple-deep);
}
.logo-mark{
  width: 30px; height:30px; border-radius:8px;
  background: var(--grad-btn);
  position:relative; flex-shrink:0;
}
.logo-mark::after{
  content:'';
  position:absolute; inset:7px;
  border-radius:3px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 40%);
}
.logo-tld{ font-family: var(--font-mono); font-weight:400; font-size:14px; color: var(--blue); }
.nav-right{ display:flex; align-items:center; justify-content:flex-end; gap:22px; font-size:13.5px; font-weight:700; }
.nav-right ul{ display:flex; align-items:center; gap:22px; }
.nav-right a.plain{ text-transform:uppercase; color: var(--text); transition: color .2s; }
.nav-right a.plain:hover{ color: var(--purple); }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 11px 22px; border-radius: 6px;
  font-size: 13.5px; font-weight: 700; font-family: var(--font-body); letter-spacing:0.01em;
  cursor:pointer; border:1.5px solid transparent; transition: all .2s ease; text-transform:uppercase;
  white-space:nowrap;
}
.btn-primary{ background: var(--grad-btn); color:#fff; }
.btn-primary:hover{ box-shadow: 0 8px 24px rgba(193,39,45,0.35); transform: translateY(-1px); }
.btn-outline{ border-color: var(--purple); color: var(--purple); background: #fff; }
.btn-outline:hover{ background: var(--surface-2); }
.btn-outline .play{ font-size:10px; }

@media (max-width: 980px){ .nav-left, .nav-right span.hide-sm{display:none;} nav.main-nav{grid-template-columns: auto 1fr auto;} }

/* ---------- hero ---------- */
.hero{ padding: 90px 0 40px; position:relative; overflow:hidden; }
.hero::before{
  content:''; position:absolute; top:-200px; right:-200px; width:600px; height:600px;
  background: radial-gradient(circle, rgba(193,39,45,0.08) 0%, transparent 70%);
  z-index:0;
}
.hero-inner{ position:relative; z-index:1; max-width: 900px; }
.hero h1{
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 5.4vw, 66px);
  letter-spacing: -0.02em; line-height: 1.06; color: var(--text);
}
.hero p.lead{
  margin-top: 22px; font-size: 19px; color: var(--text-muted);
  max-width: 620px; line-height:1.6;
}
.hero-ctas{ display:flex; gap:14px; margin-top: 34px; flex-wrap:wrap; }

/* ---------- tilted dashboard mockup ---------- */
.dash-stage{ margin-top: 60px; position:relative; height: 480px; perspective: 1800px; }
.dash{
  position:absolute; right: -40px; top:0; width: 920px; max-width:none;
  border-radius: 12px; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transform: rotateX(38deg) rotateZ(-28deg) rotateY(4deg);
  transform-style: preserve-3d; overflow: hidden;
}
.dash-bar{ display:flex; align-items:center; gap:8px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.dash-bar span{ width:9px; height:9px; border-radius:50%; background: var(--border); }
.dash-bar .tab{ margin-left: 14px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); display:flex; gap:16px; }
.dash-bar .tab b{ color: var(--purple-deep); font-weight:600; }
.dash-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:1px; background: var(--border); }
.dash-card{ background: #fff; padding: 20px 22px 18px; }
.dash-card .card-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.dash-card .card-title{ font-family: var(--font-mono); font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.status-pill{ font-family: var(--font-mono); font-size:10px; padding: 3px 8px; border-radius: 20px; display:flex; align-items:center; gap:5px; font-weight:600; }
.status-pill.ok{ color: var(--green); background: rgba(31,158,109,0.1); }
.status-pill.ok .d{ width:5px; height:5px; border-radius:50%; background: var(--green); }
.card-value{ font-family: var(--font-display); font-size: 27px; font-weight:700; color: var(--text); }
.card-sub{ font-size:11.5px; color: var(--text-muted); margin-top:3px; }
.spark{ display:flex; align-items:flex-end; gap:3px; height: 34px; margin-top: 14px; }
.spark i{ flex:1; border-radius: 2px 2px 0 0; transform-origin:bottom; }
.spark.purple i{ background: linear-gradient(180deg, var(--purple), rgba(193,39,45,0.15)); }
.spark.blue i{ background: linear-gradient(180deg, var(--blue), rgba(138,17,22,0.15)); }
.spark.green i{ background: linear-gradient(180deg, var(--green), rgba(31,158,109,0.15)); }

@media (max-width: 1100px){ .dash-stage{ display:none; } .hero{ padding-bottom: 70px; } }

/* ---------- logo strip ---------- */
.logo-strip{ padding: 44px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background: var(--bg-soft); }
.logo-strip p{ text-align:center; font-size:12px; color: var(--text-dim); font-family: var(--font-mono); text-transform:uppercase; letter-spacing:0.08em; margin-bottom: 28px; }
.logo-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap: 30px; }
.logo-row span{ font-family: var(--font-display); font-weight:600; font-size: 17px; color: var(--text-muted); opacity:0.7; }

/* ---------- section heading ---------- */
.section{ padding: 100px 0; }
.section-head{ max-width: 640px; margin-bottom: 54px; }
.section-tag{ font-family: var(--font-mono); font-size: 12px; color: var(--purple); letter-spacing:0.06em; text-transform: uppercase; margin-bottom: 14px; display:block; font-weight:600; }
.section-head h2{ font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height:1.15; color: var(--text); }
.section-head p{ margin-top:16px; color: var(--text-muted); font-size:16.5px; line-height:1.6; }

/* ---------- pillars ---------- */
.pillars{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar{ background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 30px 28px 32px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.pillar:hover{ border-color: var(--purple-light); transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(122,15,20,0.2); }
.pillar-icon{ width:46px; height:46px; border-radius:10px; margin-bottom:22px; display:flex; align-items:center; justify-content:center; background: var(--surface-2); }
.pillar h3{ font-family: var(--font-display); font-size:20px; font-weight:600; margin-bottom:10px; color: var(--text); }
.pillar p{ color: var(--text-muted); font-size:14.5px; line-height:1.65; margin-bottom:20px; }
.pillar-list{ display:flex; flex-direction:column; gap:9px; }
.pillar-list li{ font-size:13.5px; color: var(--text-muted); display:flex; align-items:center; gap:9px; }
.pillar-list li::before{ content:''; width:5px; height:5px; background: var(--purple); flex-shrink:0; transform: rotate(45deg);}

@media (max-width: 900px){ .pillars{grid-template-columns:1fr;} }

/* ---------- bento ---------- */
.bento{ display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap:16px; }
.bcard{ background: var(--bg-soft); border:1px solid var(--border); border-radius:12px; padding: 22px; display:flex; flex-direction:column; justify-content:space-between; transition: border-color .25s, background .25s; }
.bcard:hover{ border-color: var(--purple-light); background:#fff; }
.bcard h4{ font-family: var(--font-display); font-size:16px; font-weight:600; color: var(--text); }
.bcard p{ font-size:12.5px; color: var(--text-muted); margin-top:8px; line-height:1.55; }
.b-wide{ grid-column: span 2; }
.b-tall{ grid-row: span 2; }
.tag-mini{ font-family: var(--font-mono); font-size:10px; color: var(--purple); font-weight:600; align-self:flex-start; border:1px solid var(--purple-light); padding:3px 8px; border-radius:6px; background: rgba(193,39,45,0.06); }
@media (max-width: 900px){ .bento{grid-template-columns: repeat(2,1fr);} .b-wide{grid-column: span 2;} }
@media (max-width: 560px){ .bento{grid-template-columns: 1fr;} .b-wide{grid-column:span 1;} .b-tall{grid-row:span 1;} }

/* ---------- stats ---------- */
.stats-band{ background: var(--purple-deep); }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); }
.stat{ padding: 52px 28px; text-align:center; border-left:1px solid rgba(255,255,255,0.12); }
.stat:first-child{ border-left:none; }
.stat .num{ font-family: var(--font-display); font-size: 42px; font-weight:700; color:#fff; }
.stat .label{ margin-top:8px; font-size:13.5px; color: rgba(255,255,255,0.7); }
@media (max-width: 800px){ .stats-grid{grid-template-columns: repeat(2,1fr);} .stat{border-left:none; border-top:1px solid rgba(255,255,255,0.12);} }

/* ---------- process ---------- */
.process-list{ display:flex; flex-direction:column; }
.p-step{ display:grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 32px 0; border-top:1px solid var(--border); }
.p-step:last-child{ border-bottom:1px solid var(--border); }
.p-num{ font-family: var(--font-mono); font-size:14px; color: var(--purple); font-weight:600; padding-top:4px; }
.p-body h4{ font-family: var(--font-display); font-size:19px; font-weight:600; margin-bottom:8px; color: var(--text); }
.p-body p{ color: var(--text-muted); font-size:14.5px; max-width:560px; line-height:1.6; }

/* ---------- CTA band ---------- */
.cta-band{ margin: 0 32px 100px; border-radius: 18px; background: var(--grad-btn); padding: 70px 56px; text-align:center; color:#fff; position: relative; overflow:hidden; }
.cta-band h2{ font-family: var(--font-display); font-size: clamp(26px,3.2vw,36px); font-weight:700; letter-spacing:-0.02em; max-width: 620px; margin: 0 auto 16px; }
.cta-band p{ color: rgba(255,255,255,0.85); font-size:16px; max-width:480px; margin: 0 auto 32px; }
.cta-band .hero-ctas{ justify-content:center; }
.cta-band .btn-primary{ background:#fff; color: var(--purple-deep); }
.cta-band .btn-outline{ border-color: rgba(255,255,255,0.6); color:#fff; background:transparent; }
.cta-band .btn-outline:hover{ background: rgba(255,255,255,0.12); }

/* ---------- footer ---------- */
footer.site-footer{ border-top:1px solid var(--border); padding: 56px 0 32px; }
.foot-grid{ display:grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.foot-col h5{ font-size:12px; color: var(--text-dim); font-family: var(--font-mono); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:16px; }
.foot-col a{ display:block; font-size:14px; color: var(--text-muted); margin-bottom:11px; transition: color .2s; }
.foot-col a:hover{ color: var(--purple); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top: 28px; border-top:1px solid var(--border); font-size: 13px; color: var(--text-dim); }
.social-icons{ display:flex; gap:10px; margin-top:18px; }
.social-icon{
  width:34px; height:34px; border-radius:8px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); color: var(--text-muted); transition: all .2s ease;
}
.social-icon:hover{ border-color: var(--purple); color: var(--purple); background: rgba(193,39,45,0.06); }
@media (max-width: 800px){ .foot-grid{grid-template-columns: 1fr 1fr; } }

/* ---------- pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items:stretch; }
.price-card{
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 38px 32px 32px; display:flex; flex-direction:column;
  position: relative; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.price-card:hover{ transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(122,15,20,0.2); }
.price-card.featured{ border: 1.5px solid var(--purple); box-shadow: 0 30px 70px -30px rgba(193,39,45,0.4); }
.price-badge{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background: var(--grad-btn); color:#fff; font-family: var(--font-mono); font-size:11px; font-weight:600;
  padding:6px 16px; border-radius:20px; letter-spacing:0.04em; text-transform:uppercase; white-space:nowrap;
}
.price-card .price-eyebrow{ font-family: var(--font-mono); font-size:11.5px; color: var(--purple); text-transform:uppercase; letter-spacing:0.05em; font-weight:600; margin-bottom:12px; }
.price-card h3{ font-family: var(--font-display); font-size:22px; font-weight:700; margin-bottom:8px; color: var(--text); }
.price-card .price-tagline{ font-size:13.5px; color: var(--text-muted); margin-bottom:24px; line-height:1.5; min-height:38px; }
.price-card .price-value{ font-family: var(--font-display); font-size:38px; font-weight:700; color: var(--text); line-height:1; }
.price-card .price-value .unit{ font-family: var(--font-body); font-size:13px; font-weight:500; color: var(--text-dim); margin-left:4px; }
.price-card .price-value.custom{ font-size:26px; }
.price-divider{ height:1px; background: var(--border); margin: 24px 0; }
.price-features{ display:flex; flex-direction:column; gap:13px; margin-bottom: 24px; flex-grow:1; }
.price-features li{ display:flex; align-items:flex-start; gap:10px; font-size:14px; color: var(--text-muted); line-height:1.4; }
.price-features li svg{ flex-shrink:0; margin-top:2px; }
.price-fit{ font-size:12.5px; color: var(--text-dim); font-style:italic; margin-bottom:24px; line-height:1.55; padding-top:16px; border-top:1px dashed var(--border); }
.price-card .btn{ width:100%; }
.pricing-note{ text-align:center; font-size:13px; color: var(--text-dim); margin-top:32px; }
@media (max-width: 900px){ .pricing-grid{ grid-template-columns: 1fr; } .price-card.featured{ order:-1; } }

/* ---------- blog / fallback loop (index.php, page.php) ---------- */
.content-area{ padding: 90px 0; max-width: 820px; margin: 0 auto; }
.content-area article{ margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.content-area article:last-child{ border-bottom:none; }
.content-area .entry-title{ font-family: var(--font-display); font-size: 30px; font-weight:700; margin-bottom: 12px; }
.content-area .entry-title a:hover{ color: var(--purple); }
.content-area .entry-meta{ font-family: var(--font-mono); font-size:12px; color: var(--text-dim); margin-bottom:16px; text-transform:uppercase; letter-spacing:0.04em; }
.content-area .entry-content{ color: var(--text-muted); font-size:15.5px; line-height:1.7; }
.content-area .entry-content p{ margin-bottom: 16px; }
.pagination{ display:flex; gap:12px; justify-content:center; margin-top: 40px; }
.pagination a, .pagination span{ padding: 8px 16px; border:1px solid var(--border); border-radius:6px; font-size:13.5px; }
.pagination a:hover{ border-color: var(--purple); color: var(--purple); }
