/* 
   TO288 Official Stylesheet
   Style: Cyber Ala Hacker (Cyberpunk Glowing Theme)
   Author: TO288
*/

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

:root {
  --bg-darker: #050505;
  --bg-dark: #0a0a0f;
  --bg-card: #101015;
  --primary: #00ff41; /* Neon Matrix Cyber Green */
  --primary-glow: rgba(0, 255, 65, 0.4);
  --secondary: #00ffff; /* Neon Cyber Cyan */
  --secondary-glow: rgba(0, 255, 255, 0.4);
  --accent: #ff0055; /* Cyber Pink Accent */
  --accent-glow: rgba(255, 0, 85, 0.4);
  --text-main: #f0f0f5;
  --text-muted: #8a8ab0;
  --border-color: rgba(0, 255, 65, 0.2);
  --cyber-grid: rgba(0, 255, 65, 0.03);
  --font-cyber: 'Orbitron', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --font-sans: 'Inter', sans-serif;
  --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base resets & layouts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* Background Cyber Grid & Interactive Canvas decoration */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to right, var(--cyber-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--cyber-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #111111 0%, #050505 100%);
  z-index: -1;
  pointer-events: none;
}

/* Typography styles */
h1, h2, h3, h4, .cyber-font {
  font-family: var(--font-cyber);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.mono-font {
  font-family: var(--font-mono);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
}

/* Header & Navigation Styling */
.cyber-header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 100;
  transition: var(--transition-fast);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.branding-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--primary-glow));
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: rotate(5deg) scale(1.05);
}

.brand-text {
  font-family: var(--font-cyber);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  text-shadow: 0 0 8px var(--primary-glow);
  display: flex;
  align-items: center;
  gap: 4px;
}

.text-green {
  color: var(--primary);
}

.text-cyan {
  color: var(--secondary);
}

/* Nav Menu Styles */
.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition-fast);
  padding: 5px 8px;
  color: var(--text-muted);
}

.nav-link::before {
  content: "> ";
  opacity: 0;
  color: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary-glow);
}

.nav-link:hover::before, .nav-link.active::before {
  opacity: 1;
}

/* Action Buttons Header */
.header-actions {
  display: flex;
  gap: 12px;
}

.cyber-btn {
  font-family: var(--font-cyber);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--primary);
  color: #000;
  border: 1px solid var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  text-transform: uppercase;
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 25px var(--primary);
  text-shadow: 0 0 5px var(--primary-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
  text-transform: uppercase;
}

.btn-secondary:hover {
  background: var(--secondary);
  color: #000;
  box-shadow: 0 0 25px var(--secondary-glow);
}

/* Hero Section Branding */
.hero-section {
  position: relative;
  padding: 80px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cyber Terminal / Warning styling */
.terminal-status {
  align-self: flex-start;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid var(--primary);
  padding: 6px 14px;
  border-radius: 3px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2s infinite alternate;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Call to Action Wrapper */
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.cta-mega {
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Live Stats Banner under Hero */
.system-ticker {
  background-color: rgba(5, 5, 8, 0.9);
  border-top: 1px solid rgba(57, 255, 20, 0.1);
  border-bottom: 1px solid rgba(57, 255, 20, 0.1);
  padding: 12px 0;
  font-family: var(--font-mono);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  animation: marquee 25s linear infinite;
  gap: 50px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-label {
  color: var(--secondary);
}

.ticker-val {
  color: var(--primary);
  font-weight: bold;
}

/* Hero Media with cyber frames */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cyber-frame {
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(57, 255, 20, 0.05);
}

.corner-decor {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--primary);
  z-index: 5;
}

.corner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.corner-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.frame-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 4px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.05);
  filter: contrast(1.05) brightness(0.95);
  transition: transform 0.5s ease;
}

.cyber-frame:hover .frame-img {
  transform: scale(1.02);
}

/* Scanline Effect overlay on media */
.scanline-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
}

/* Speedometer Widget Container (Sistem Cepat) */
.speed-test-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-title {
  font-size: 2.22rem;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.speedometer-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.speedometer-dial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dial-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dial-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dial-track {
  fill: none;
  stroke: #1a1a2e;
  stroke-width: 14;
}

.dial-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 14;
  stroke-dasharray: 565;
  stroke-dashoffset: 565;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
  stroke-linecap: round;
}

.dial-inner {
  position: absolute;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dial-value {
  font-family: var(--font-cyber);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 12px var(--primary-glow);
  line-height: 1;
}

.dial-unit {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.speed-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--secondary);
  padding: 12px 16px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.feature-box:hover {
  background: rgba(0, 255, 255, 0.03);
  border-left-color: var(--primary);
}

.feature-title {
  font-family: var(--font-cyber);
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Speed test controls */
.speed-control-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-cyber);
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.speed-control-btn:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

/* SEO Content Section */
.seo-content-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 35px;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
}

.article-header {
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.article-category {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.article-title {
  font-size: 1.8rem;
  color: var(--text-main);
  line-height: 1.3;
}

.article-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.article-subheading {
  font-family: var(--font-cyber);
  font-size: 1.25rem;
  color: var(--secondary);
  margin-top: 30px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.article-bullets {
  list-style: none;
  margin-bottom: 20px;
}

.article-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.article-bullets li::before {
  content: "âš¡";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Article Sidebar Quick Info */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid rgba(57, 255, 20, 0.1);
  padding: 24px;
  border-radius: 8px;
}

.sidebar-box-title {
  font-family: var(--font-cyber);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 15px;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

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

.spec-val {
  color: var(--text-main);
}

.brand-promo-card {
  background: linear-gradient(135deg, rgba(16, 16, 26, 0.9) 0%, rgba(5, 5, 8, 0.95) 100%);
  border: 1px solid var(--secondary);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.05);
}

/* FAQ Accordion Styling */
.faq-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover, .faq-item.active {
  border-color: var(--primary);
}

.faq-btn {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: none;
  font-family: var(--font-cyber);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  stroke: var(--secondary);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background: rgba(255, 255, 255, 0.01);
}

.faq-item.active .faq-panel {
  max-height: 1000px; /* high value for content animation */
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-panel-content {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 15px;
}

/* Reviews Banner Section */
.reviews-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 25px;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.05);
}

.stars-rating {
  color: #ffcc00; /* Star yellow */
  display: flex;
  gap: 4px;
  font-size: 1.1rem;
}

.review-comment {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.6;
}

.review-author {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.author-name {
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  color: var(--secondary);
}

.author-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
}

/* Cyber Footer */
.cyber-footer {
  background: rgba(5, 5, 8, 0.95);
  border-top: 2px solid var(--border-color);
  padding: 60px 20px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-desc {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-title {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations Definitions */
@keyframes pulse {
  0% {
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.2);
    border-color: rgba(57, 255, 20, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
    border-color: var(--primary);
  }
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    gap: 30px;
  }
  
  .terminal-status {
    align-self: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .speedometer-widget {
    grid-template-columns: 1fr;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .nav-menu {
    display: none; /* simple hidden for header responsive on static output */
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-mega {
    justify-content: center;
  }
}