/* =============================================================
   KALASTOR NET — Dark Hacker Glassmorphism Theme (2026)
   ============================================================= */

:root {
  --accent: #00f0ff;
  --accent-glow: rgba(0, 240, 255, 0.3);
  --accent-dim: rgba(0, 240, 255, 0.15);
  --bg-dark: #0a0a0f;
  --bg-section: #0e0e16;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.18);
  --text: #c8c8d0;
  --text-heading: #ffffff;
  --text-muted: #a0a3b8;
  --mono: 'Courier New', Courier, monospace;
  --radius: 16px;
}

/* ---- GLOBAL ---- */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark) !important;
  color: var(--text) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-5 {
  color: var(--text-heading) !important;
}

p, li, .display-4, .display-7 {
  color: var(--text) !important;
}

a {
  color: var(--accent) !important;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff !important;
  text-shadow: 0 0 8px var(--accent-glow);
}

::selection {
  background: var(--accent);
  color: var(--bg-dark);
}

section {
  background: transparent !important;
  position: relative;
}

/* ---- GLASS MIXIN ---- */

.glass {
  background: var(--bg-card) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius) !important;
  transition: all 0.3s ease;
}

@supports not (backdrop-filter: blur(12px)) {
  .glass {
    background: rgba(14, 14, 22, 0.9) !important;
  }
}

.glass:hover {
  background: var(--bg-card-hover) !important;
  border-color: var(--border-glass-hover) !important;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.05);
}

/* ---- NAVBAR ---- */

.navbar {
  background: rgba(10, 10, 15, 0.8) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.5rem 0;
}

.navbar .nav-link,
.navbar .navbar-caption {
  color: var(--text) !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.navbar .nav-link:hover {
  color: var(--accent) !important;
}

.navbar .btn {
  background: transparent !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.5rem !important;
  transition: all 0.3s ease;
}

.navbar .btn:hover {
  background: var(--accent) !important;
  color: var(--bg-dark) !important;
  box-shadow: 0 0 20px var(--accent-glow);
}

.hamburger span {
  background-color: var(--text) !important;
}

/* ---- HERO ---- */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0e0e1a 50%, var(--bg-dark) 100%);
  overflow: hidden;
  padding: 6rem 1rem 4rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.hero-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), transparent 50%, rgba(0, 240, 255, 0.05));
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.hero-title .accent {
  color: var(--accent) !important;
  text-shadow: 0 0 40px var(--accent-glow);
}

/* Typing cursor */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--text-muted) !important;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text) !important;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-glow {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-glow:hover {
  background: var(--accent);
  color: var(--bg-dark) !important;
  box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(0, 240, 255, 0.15);
  transform: translateY(-2px);
}

/* ---- LOGO TICKER ---- */

.ticker-section {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
}

.ticker-section h2 {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-muted) !important;
  margin-bottom: 2rem;
  font-weight: 400;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  flex-shrink: 0;
  width: 100px;
  height: 40px;
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.ticker-item:hover {
  opacity: 1;
}

.ticker-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- SECTIONS COMMON ---- */

section .container {
  position: relative;
  z-index: 1;
}

.section-title {
  color: var(--text-heading) !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted) !important;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---- ABOUT ---- */

.about-section {
  padding: 5rem 0;
}

.about-section img {
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
}

/* ---- PARALLAX SECTION ---- */

.parallax-dark {
  padding: 5rem 0;
  position: relative;
}

.parallax-dark .mbr-overlay {
  background: rgba(10, 10, 15, 0.85) !important;
}

/* ---- SERVICE CARDS ---- */

.services-section {
  padding: 4rem 0 2rem;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

@supports not (backdrop-filter: blur(12px)) {
  .service-card {
    background: rgba(14, 14, 22, 0.9);
  }
}

.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 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 240, 255, 0.03);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .card-title {
  color: var(--text-heading) !important;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card .card-text {
  color: var(--text) !important;
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

/* ---- HOW IT WORKS ---- */

.steps-section {
  padding: 5rem 0;
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

@supports not (backdrop-filter: blur(12px)) {
  .step-card {
    background: rgba(14, 14, 22, 0.9);
  }
}

.step-card:hover {
  border-color: var(--border-glass-hover);
}

.step-num {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent) !important;
  text-shadow: 0 0 30px var(--accent-glow);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ---- STATS ---- */

.stats-section {
  padding: 5rem 0;
}

.stats-section ul {
  list-style: none;
  padding: 0;
}

.stats-section ul li {
  font-family: var(--mono);
  font-size: 0.95rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text) !important;
}

.stats-section ul li::before {
  content: '> ';
  color: var(--accent);
  font-weight: bold;
}

/* ---- PARTNERS ---- */

.partners-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border-glass);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.partner-logo {
  width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---- TESTIMONIALS ---- */

.testimonials-section {
  padding: 5rem 0;
}

.terminal-card {
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

@supports not (backdrop-filter: blur(12px)) {
  .terminal-card {
    background: rgba(10, 10, 20, 0.95);
  }
}

.terminal-card:hover {
  border-color: var(--border-glass-hover);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted) !important;
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.5rem;
}

.terminal-body .quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text) !important;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.terminal-body .quote::before {
  content: '$ echo "';
  font-family: var(--mono);
  font-style: normal;
  color: var(--accent);
  font-size: 0.8rem;
}

.terminal-body .quote::after {
  content: '"';
  font-family: var(--mono);
  font-style: normal;
  color: var(--accent);
  font-size: 0.8rem;
}

.terminal-author {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent) !important;
}

.terminal-author-role {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted) !important;
}

/* ---- FOOTER ---- */

.footer-dark {
  background: rgba(5, 5, 10, 0.9) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0 1.5rem;
}

.footer-dark p,
.footer-dark a {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
}

/* WCAG / iOS-friendly tap target — 44x44 min on the nav anchors */
.footer-dark a {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  min-height: 44px;
  line-height: 1.5;
}

.footer-dark a:hover {
  color: var(--accent) !important;
}

.footer-dark .foot-title {
  color: var(--text-heading) !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-dark hr {
  border-color: var(--border-glass);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 991px) {
  .hero-card {
    padding: 2rem 1.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .ticker-item {
    width: 70px;
    height: 30px;
    margin: 0 1.2rem;
  }

  .partners-grid {
    gap: 1.5rem;
  }

  .partner-logo {
    width: 110px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .service-card {
    padding: 1.5rem;
  }

  .terminal-body {
    padding: 1rem;
  }

  .partner-logo {
    width: 90px;
    height: 40px;
  }
}

/* ---- UTILITY ---- */

.mb-accent-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1rem auto;
  box-shadow: 0 0 10px var(--accent-glow);
}

.text-accent {
  color: var(--accent) !important;
}

.mono {
  font-family: var(--mono);
}

/* Override Mobirise white backgrounds */
.mbr-section-title,
.mbr-section-subtitle {
  color: var(--text-heading) !important;
}

.mbr-text {
  color: var(--text) !important;
}

/* Hide old Mobirise overlay conflicts */
section .mbr-overlay {
  background: transparent !important;
  opacity: 0 !important;
}
