*{margin:0;padding:0;box-sizing:border-box;font-family:'Segoe UI',sans-serif}

:root{
  --blue:#3B82F6;
  --cyan:#00D4FF;
  --gradient:linear-gradient(90deg,#3B82F6,#00D4FF);

  --bg:#ffffff;
  --bg-soft:#f5f9ff;
  --text:#0f172a;
  --text-soft:#64748b;
  --card:#ffffff;
  --border:rgba(59,130,246,0.15);
  --glow:#60a5fa;
  --primary:#3b82f6;
  --card-shadow: 0 10px 30px rgba(59, 130, 246, 0.05);
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:80px;
}

body{
  background:linear-gradient(180deg,#ffffff,#f5f9ff);
  color:var(--text);
}
html, body{
  overflow-x:hidden;
}
/* NAVBAR */

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:15px 40px;

  position:fixed;
  top:0;
  left:0;
  width:100%;

  background:rgba(255,255,255,0.8);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);

  z-index:1000;

  transition: transform .3s ease, background .3s ease;
}

/* ⬇️ sembunyikan navbar */
.navbar.hide{
  transform: translateY(-100%);
}

/* ⬇️ efek saat discroll */
.navbar.scrolled{
  background:rgba(255,255,255,0.95);
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.logo{
  font-size:22px;font-weight:bold;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.nav-links{display:flex;gap:30px}
.nav-links a{
  color:var(--text-soft);
  text-decoration:none;
  position:relative;
}

/* underline */
.nav-links a::after{
  content:"";
  position:absolute;
  width:0;height:2px;
  left:0;bottom:-5px;
  background:var(--gradient);
  transition:.3s;
}

.nav-links a:hover{
  color:var(--cyan);
}
.nav-links a:hover::after{
  width:100%;
}

/* ACTIVE */
.nav-links a.active{
  color:var(--cyan);
}
.nav-links a.active::after{
  width:100%;
}

/* BUTTON */

.btn{
     padding:8px 18px;
    background:linear-gradient(135deg,var(--primary),var(--glow));
    border:none;border-radius:10px;color:white;
    box-shadow:0 0 20px rgba(59,130,246,.5);
    cursor:pointer;
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  z-index:1100;
}
.hamburger span{
  height:3px;width:25px;margin:4px;
  background:var(--gradient);
  transition:.3s;
}

/* X */
.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2){opacity:0;}
.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}

/* OVERLAY */
.overlay{
  position:fixed;
  top:0;left:0;
  width:100%;height:100%;
  background:rgba(0,0,0,0.2);
  backdrop-filter:blur(5px);
  opacity:0;
  pointer-events:none;
  transition:.3s;
  z-index:900;
}
.overlay.show{
  opacity:1;
  pointer-events:auto;
}

/* MOBILE */
@media(max-width:768px){
    body{
     padding-top:64px;
  }
  .nav-links{
    position:fixed;
    top:0;right:0;
    width:260px;
    flex-direction:column;
    background:
      radial-gradient(circle at 25% 25%, rgba(59,130,246,0.3), transparent 60%),
      linear-gradient(135deg, #0F172A, #1E3A8A, #0EA5E9);
    border-left:1px solid var(--border);
    padding:80px 20px;
    gap:20px;
    height:100vh;
    transform:translateX(100%);
    opacity:0;
    pointer-events:auto;
    overflow-y: auto; /* Izinkan scroll vertikal */
    max-height: 100vh;
    -webkit-overflow-scrolling: touch;
    display: flex;
  }

  .nav-links a{
    padding:12px 0;
    font-size:18px;
    color: #ffffff;
  }

  .hamburger{display:flex;}
}

/* DESKTOP FIX */
@media(min-width:769px){
  .nav-links{
    transform:none !important;
    opacity:1 !important;
    pointer-events:auto !important;
    position:static;
  }
}

/* LOCK */
body.lock{
  overflow:hidden;
  height:100vh;
}
/* HERO */
.hero {
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 60px;
  position:relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(59,130,246,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,212,255,0.15), transparent 40%),
    linear-gradient(180deg,#ffffff,#f5f9ff);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size:40px 40px;
  z-index:0;
}
.hero h1{font-size:60px;}
.hero span{color:var(--glow);text-shadow:0 0 20px var(--glow);}
.hero p{margin:20px 0;color:#94a3b8;}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3b82f6, transparent);
    filter: blur(120px);
    top: 20%;
    right: 10%;
    z-index: -1;
}

/* WRAPPER VISUAL */
.hero-visual{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* GLOW (BACKGROUND ONLY) */
.glow{
  position:absolute;
  width:100%;
  height:100%;
  background:radial-gradient(circle, var(--glow), transparent 70%);
  filter:blur(120px);
  z-index:0;
  opacity:0.7;
}

/* LOGO (TAJAM & RESPONSIVE) */
.hero-logo{
  width:100%;
  max-width:90%;
  height:auto;
  z-index:1;
  object-fit:contain;

  /* efek glow ringan biar nyatu */
  filter:drop-shadow(0 0 25px rgba(59,130,246,0.5));
}
/* SECTION */
.section{
  padding:80px 40px;
  text-align:center;
}



/* CONTACT */
.contact input,.contact textarea{
  width:100%;
  padding:10px;
  margin:10px 0;
  border-radius:6px;
  border:1px solid var(--border);
}
.contact button{
  background:var(--gradient);
  border:none;
  padding:10px 20px;
  color:#fff;
  border-radius:20px;
}

/* FOOTER */
footer{
  padding:30px;
  text-align:center;
  color:#777;
}
@media(max-width:768px){
  .hero{
    flex-direction:column;
    text-align:center;
  }
  .hero{
    height: auto;        /* ⬅️ ini yang penting */
    min-height: auto;   /* opsional: tetap full tapi fleksibel */
  }
  .hero div:first-child{
    margin-bottom: 30px;
  }
  .hero h1 {
      font-size: 30px;
    }

  /* ⬇️ INI KUNCI UTAMA */
  .hero-visual{
    order:-1; /* pindahin ke atas */
    width:100%;
  }

  .hero-logo{
    max-width:100%;
    padding: 60px 0px 60px;
  }
}

/* TITLE */
.section-title{
  font-size:34px;
  margin-bottom:10px;
}

.section-sub{
  color:var(--text-soft);
  margin-bottom:50px;
}

/* GRID */
/* Grid untuk Features (3 Kolom) */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Paksa 3 kolom */
    gap: 25px;
}

/* Grid untuk Solutions (2 Kolom) */
.solutions {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Paksa 2 kolom */
    gap: 25px;
    margin-top: 40px;
}
/* Responsivitas: Agar saat layar kecil (HP) berubah menjadi 1 kolom */
@media (max-width: 992px) {
    .features {
        grid-template-columns: repeat(2, 1fr); /* Tablet jadi 2 kolom */
    }
}

@media (max-width: 600px) {
    .features, .solutions {
        grid-template-columns: 1fr; /* HP jadi 1 kolom saja */
    }
}
/* CARD ELITE */
.card{
  padding:28px;
  border-radius:18px;

  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(12px);

  border:1px solid var(--border);

  position:relative;
  overflow:hidden;

  transition:all .35s ease;
}

/* TOP ROW */
.card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:15px;
}

/* ICON */
.icon{
  font-size:26px;
}

/* BADGE */
.badge{
  font-size:12px;
  padding:5px 10px;
  border-radius:20px;

  background:rgba(59,130,246,0.1);
  color:var(--blue);
}

/* TITLE */
.card h3{
  font-size:18px;
  margin-bottom:10px;
}

/* DESC */
.card p{
  font-size:14px;
  color:var(--text-soft);
  line-height:1.6;
  margin-bottom:15px;
}

/* TECH STACK */
.tech{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tech span{
  font-size:12px;
  padding:5px 10px;
  border-radius:8px;

  background:var(--bg-soft);
  border:1px solid var(--border);
}

/* HOVER ELITE EFFECT */
.card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 20px 50px rgba(59,130,246,0.15);
  border-color:rgba(59,130,246,0.3);
}

/* GRADIENT GLOW */
.card::before{
  content:"";
  position:absolute;
  inset:0;

  background:linear-gradient(120deg, transparent, rgba(0,212,255,0.15), transparent);
  opacity:0;
  transition:.4s;
}

.card:hover::before{
  opacity:1;
}
.gallery .card::before{
  position:unset;
}
/* BORDER GLOW TOP */
.card::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;

  background:var(--gradient);
  opacity:0;
  transition:.3s;
}

.card:hover::after{
  opacity:1;
}

/* MOBILE */
@media(max-width:768px){
  .section{
    padding:60px 20px;
  }

  .card{
    text-align:left;
  }
}
/* GRID */
.portfolio{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:25px;
}

/* CARD */
.portfolio-card{
  border-radius:18px;
  overflow:hidden;

  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(12px);

  border:1px solid var(--border);

  transition:all .35s ease;
}

/* IMAGE */
.portfolio-img{
  height:180px;
  overflow:hidden;
}

.portfolio-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

/* CONTENT */
.portfolio-content{
  padding:20px;
  text-align:left;
}

.portfolio-content h3{
  margin-bottom:10px;
  font-size:18px;
}

.portfolio-content p{
  font-size:14px;
  color:var(--text-soft);
  line-height:1.6;
  margin-bottom:15px;
}

/* TECH TAG */
.tech{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:15px;
}

.tech span{
  font-size:12px;
  padding:5px 10px;
  border-radius:8px;
  background:var(--bg-soft);
  border:1px solid var(--border);
}

/* FOOTER */
.portfolio-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* BUTTON SMALL */
.btn-sm{
  font-size:13px;
  padding:6px 14px;
  border-radius:20px;
  text-decoration:none;

  background:var(--gradient);
  color:#fff;
}

/* HOVER EFFECT */
.portfolio-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(59,130,246,0.15);
}

.portfolio-card:hover img{
  transform:scale(1.05);
}

/* GRADIENT LINE */
.portfolio-card::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;
  background:var(--gradient);
  opacity:0;
  transition:.3s;
}

.portfolio-card:hover::after{
  opacity:1;
}

/* MOBILE */
@media(max-width:768px){
  .portfolio-img{
    height:160px;
  }
}

/* CONTACT */
.contact-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  max-width:1100px;
  margin:auto;
  text-align:left;
}

.contact-info h2{
  font-size:32px;
  margin-bottom:15px;
}

.contact-info p{
  color:var(--text-soft);
  margin-bottom:25px;
}

.contact-item{
  margin-bottom:12px;
  color:var(--text-soft);
}

/* FORM */
.contact-form{
  background:var(--card);
  padding:30px;
  border-radius:12px;
  border:1px solid var(--border);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.form-group{
  margin-bottom:15px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid var(--border);
  outline:none;
  transition:.2s;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 2px rgba(59,130,246,0.2);
}


/* RESPONSIVE */
@media(max-width:768px){
  .contact-container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .contact-info{
    order:2;
  }

  .contact-form{
    order:1;
  }
}
/* FOOTER LOGO */

/* --- ENTERPRISE ENHANCEMENTS --- */

/* Trusted By Section */
.clients-section {
  padding: 50px 40px;
  background: var(--bg-soft);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.client-item {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  filter: grayscale(1);
  transition: .3s;
}

.client-item:hover {
  filter: grayscale(0);
  color: var(--primary);
}

/* Enterprise Card Highlights */
.badge-enterprise {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important; /* Warna hijau untuk menandakan keandalan (security/support) */
}

.enterprise-card {
  border: 2px solid #10b981 !important;
}

/* Industries Section */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.industry-card {
  padding: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  text-align: left;
  transition: .3s;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.1);
  border-color: var(--primary);
}

.industry-card h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.industry-card p {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
}
/* WA FLOATING BUTTON */
.wa-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  background: #25D366; color: white; padding: 15px 20px;
  border-radius: 50px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  font-weight: bold; transition: 0.3s;
}
.wa-float:hover { transform: scale(1.05); background: #128C7E; }
/* FOOTER BASE */
.footer{
  position:relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(59,130,246,0.2), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(0,212,255,0.15), transparent 50%),
    #020617;
  color:#cbd5f5;
  overflow:hidden;
}

/* TOP GRID */
.footer-top{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
  padding:40px 40px;
  max-width:1300px;
  margin:auto;
}

/* BRAND */
.footer-logo{
  margin-bottom:15px;
}

.footer-logo img{
  width:100%;
  filter:drop-shadow(0 0 25px rgba(59,130,246,.6));
}

.footer-brand p{
  color:#94a3b8;
  margin-bottom:20px;
  line-height:1.6;
}

/* CTA */
.footer-cta .btn{
  padding:10px 20px;
  border-radius:10px;
}

/* LINKS */
.footer-col h4,
.footer-newsletter h4{
  color:#fff;
  margin-bottom:15px;
}

.footer-col a{
  display:block;
  color:#94a3b8;
  text-decoration:none;
  margin-bottom:10px;
  transition:.2s;
}

.footer-col a:hover{
  color:#00D4FF;
  transform:translateX(5px);
}

/* NEWSLETTER */
.footer-newsletter p{
  color:#94a3b8;
  margin-bottom:15px;
}

.newsletter-box{
  display:flex;
  background:#0f172a;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:10px;
  overflow:hidden;
}

.newsletter-box input{
  flex:1;
  padding:10px;
  border:none;
  background:transparent;
  color:#fff;
  outline:none;
}

.newsletter-box button{
  background:linear-gradient(135deg,#3B82F6,#00D4FF);
  border:none;
  padding:0 15px;
  color:#fff;
  cursor:pointer;
}

/* BOTTOM */
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 40px;
  border-top:1px solid rgba(255,255,255,0.1);
  font-size:14px;
}

.footer-social a{
  margin-left:10px;
  font-size:18px;
  text-decoration:none;
  transition:.2s;
}

.footer-social a:hover{
  color:#00D4FF;
}

/* RESPONSIVE */
@media(max-width:900px){
  .footer-top{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  .footer-top{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-bottom{
    flex-direction:column;
    gap:10px;
  }
}

.logo a {
    text-decoration: none;
}
.logo a:hover {
    text-decoration: none;
}
.btn-footer {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(37,211,102,0.5);
    transition: 0.3s;
}

.btn-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(37,211,102,0.8);
}
.contact-item a {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-shadow: 0 0 10px rgba(37,211,102,0.7);
}
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: 0.3s;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    transition: 0.3s;
}

/* INSTAGRAM */
.footer-social a.ig:hover {
    background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
    box-shadow: 0 0 20px rgba(214,41,118,0.6);
}

/* THREADS */
.footer-social a.threads:hover {
    background: #000;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* FACEBOOK */
.footer-social a.fb:hover {
    background: #1877f2;
    box-shadow: 0 0 20px rgba(24,119,242,0.6);
}

/* LINKEDIN */
.footer-social a.ln:hover {
    background: #0a66c2;
    box-shadow: 0 0 20px rgba(10,102,194,0.6);
}

/* ICON COLOR */
.footer-social a:hover svg {
    fill: white;
    transform: scale(1.1);
}

/* LIFT EFFECT */
.footer-social a:hover {
    transform: translateY(-3px);
}

/* GRID */
.blog{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:25px;
}

/* CARD */
.blog-card{
  border-radius:18px;
  overflow:hidden;

  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(12px);

  border:1px solid var(--border);

  transition:all .35s ease;
}

/* IMAGE */
.blog-img{
  height:180px;
  overflow:hidden;
}

.blog-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.5s;
}

/* CONTENT */
.blog-content{
  padding:20px;
  text-align:left;
}

/* META */
.blog-meta{
  font-size:12px;
  color:var(--text-soft);
  margin-bottom:10px;
}

/* TITLE */
.blog-content h3{
  font-size:18px;
  margin-bottom:10px;
}

/* DESC */
.blog-content p{
  font-size:14px;
  color:var(--text-soft);
  line-height:1.6;
  margin-bottom:15px;
}

/* LINK */
.read-more{
  font-size:14px;
  text-decoration:none;
  color:var(--blue);
  font-weight:500;
}

/* HOVER */
.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(59,130,246,0.15);
}

.blog-card:hover img{
  transform:scale(1.05);
}

/* GRADIENT TOP LINE */
.blog-card::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;
  background:var(--gradient);
  opacity:0;
  transition:.3s;
}

.blog-card:hover::after{
  opacity:1;
}

/* MOBILE */
@media(max-width:768px){
  .blog-img{
    height:160px;
  }
}
/* WRAPPER */
.blog-detail{
  max-width:800px;
  margin:auto;
  padding:100px 20px 60px;
}

/* HEADER */
.blog-header h1{
  font-size:32px;
  margin-bottom:10px;
  line-height:1.3;
}

.blog-meta{
  color:var(--text-soft);
  font-size:14px;
}

/* COVER */
.blog-cover{
  margin:30px 0;
  border-radius:16px;
  overflow:hidden;
}

.blog-cover img{
  width:100%;
  display:block;
}

/* CONTENT */
.blog-content{
  line-height:1.8;
  font-size:16px;
  color:var(--text);
}

.blog-content h2{
  margin:30px 0 10px;
  font-size:22px;
}

.blog-content p{
  margin-bottom:15px;
}

/* LIST */
.blog-content ul{
  margin:15px 0 15px 20px;
}

/* BLOCKQUOTE */
.blog-content blockquote{
  margin:20px 0;
  padding:15px 20px;
  border-left:4px solid var(--blue);
  background:var(--bg-soft);
  border-radius:8px;
  color:var(--text-soft);
}

/* FOOTER */
.blog-footer{
  margin-top:40px;
  text-align:center;
}

/* MOBILE */
@media(max-width:768px){
  .blog-header h1{
    font-size:24px;
  }

  .blog-detail{
    padding:80px 15px 40px;
  }
}

.blog-card{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-content{
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-content p{
    flex-grow: 1;
}

.read-more{
    margin-top: auto;
}
.blog-more{
    text-align: center;
    margin-top: 40px;
}

.btn-all{
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;

    background: linear-gradient(135deg, var(--primary), var(--glow));
    color: white;

    box-shadow: 0 0 20px rgba(59,130,246,.4);
    transition: .3s;
}

.btn-all:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59,130,246,.6);
}
.btn-all::after{
    content:" →";
    transition:.3s;
}

.btn-all:hover::after{
    margin-left:5px;
}
.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:50px;
    flex-wrap:wrap;
}

.page{
    min-width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border-radius:8px;

    background:rgba(255,255,255,0.7);
    border:1px solid var(--border);
    color:var(--text-soft);

    transition:.3s;
}

/* ACTIVE */
.page.active{
    background:linear-gradient(135deg,var(--primary),var(--glow));
    color:#fff;
    box-shadow:0 0 15px rgba(59,130,246,.5);
}

/* HOVER */
.page:hover{
    transform:translateY(-2px);
    color:var(--primary);
}

/* DISABLED */
.page.disabled{
    opacity:0.4;
    pointer-events:none;
}

/* DOTS */
.dots{
    padding:0 5px;
    color:var(--text-soft);
}

/* MOBILE */
@media(max-width:600px){
    .pagination{
        gap:6px;
    }

    .page{
        min-width:34px;
        height:34px;
        font-size:13px;
    }
}
.editor-container { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.header-meta { margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.input-group { margin-bottom: 25px; }
label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: var(--text); }

.title-input {
    width: 100%; font-size: 32px; font-weight: 700; border: none;
    border-left: 4px solid var(--blue); padding: 5px 20px; outline: none;
    color: var(--text); background: transparent; margin-bottom: 10px;
}

input[type="text"], select, textarea {
    width: 100%; padding: 12px 16px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--bg-soft);
    font-size: 15px; outline: none; transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blue); background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Toolbar */
.toolbar {
    display: flex; flex-wrap: wrap; gap: 8px; padding: 12px;
    background: #f1f5f9; border: 1px solid var(--border);
    border-bottom: none; border-radius: 10px 10px 0 0;
}

.tool-btn {
    background: #fff; border: 1px solid var(--border);
    padding: 6px 12px; border-radius: 6px; cursor: pointer;
    font-size: 13px; font-weight: 600; transition: 0.2s;
}

.tool-btn:hover { background: var(--blue); color: #fff; }

.editor-container textarea { min-height: 400px; border-radius: 0 0 10px 10px; line-height: 1.8; resize: vertical; }
 .footer-actions {
            display: flex; justify-content: space-between; align-items: center;
            margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
        }

        .status-container {
            font-size: 13px; color: var(--text-soft); font-weight: 500;
            display: flex; align-items: center; gap: 8px;
        }

        .action-btns { display: flex; gap: 12px; align-items: center; }

        .btn-ghost { background: #f1f5f9; color: var(--text); }
        .btn-ghost:hover { background: #e2e8f0; }

        .btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2); }
        .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3); }

        .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

        /* Preview Modal */
        .preview-modal {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(8px);
            display: none; z-index: 2000; overflow-y: auto; padding: 40px 20px;
        }

        .preview-content {
            background: white; max-width: 850px; margin: 0 auto;
            padding: 50px; border-radius: 24px; position: relative;
        }

        .close-preview {
            position: fixed; top: 25px; right: 40px; background: #ef4444;
            color: white; border: none; padding: 10px 20px; border-radius: 8px;
            cursor: pointer; font-weight: bold; z-index: 2100;
        }

        /* Terminal Style Code */
        .terminal-line {
            font-family: 'Fira Code', monospace; font-size: 14px;
            background: #0f172a; padding: 15px; border-radius: 8px;
            color: #f8fafc; border-left: 4px solid var(--blue); margin: 15px 0;
            white-space: pre-wrap; 
    word-break: break-all;
        }

        @media (max-width: 768px) {
            .meta-grid { grid-template-columns: 1fr; }
            .footer-actions { flex-direction: column; gap: 20px; align-items: flex-start; }
            .action-btns { width: 100%; justify-content: space-between; }
        }
        #render-area ul {
    margin: 15px 0 15px 25px;
    color: #334155;
}

#render-area li {
    margin-bottom: 8px;
    list-style-type: disc;
}
.cursor {
            display: inline-block;
            width: 2px;
            height: 1.1em;
            background: #3B82F6;
            vertical-align: middle;
            margin-left: 4px;
            animation: blink 1s infinite;
        }

        @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
        
#render-area p {
    margin-bottom: 1.2rem;
    color: #334155;
}
#render-area ul {
    margin-bottom: 1.5rem;
}
.card-write { background: #fff; padding: 40px; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--card-shadow); }
.blog-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maksimal 3 baris teks */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em; /* Menjaga tinggi tetap sama jika teks terlalu pendek */
}
.blog-img {
    position: relative;
    overflow: hidden;
}

.article-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.btn-edit, .btn-delete {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition: 0.3s;
}

.btn-edit {
    background: rgba(52, 152, 219, 0.9); /* Biru */
}

.btn-delete {
    background: rgba(231, 76, 60, 0.9); /* Merah */
}

.btn-edit:hover { background: #2980b9; }
.btn-delete:hover { background: #c0392b; }
.footer-brand h1{font-size:16px;}
.footer-brand span{color:var(--glow);text-shadow:0 0 20px var(--glow);}
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tag-item {
    color: #555;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.tag-item:hover {
    background-color: var(--blue) !important; /* Gunakan variabel warna utama Anda */
    color: white;
    border-color: var(--blue);
}