/*
Theme Name: RAW AI
Theme URI: https://example.com/raw-ai
Author: OpenAI Codex
Author URI: https://openai.com
Description: WordPress recreation of the RAW.AI HTML template with glitch effects, neon terminal styling, custom page templates, and blog support.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: raw-ai
*/

/* ==========================================================================
   BASE STYLES & VARIABLES
   ========================================================================== */

:root {
  /* Color Palette */
  --black: #000000;
  --white: #ffffff;
  --gray: #888888;
  --light-gray: #dddddd;
  --dark-gray: #333333;
  --neon-green: #00ff00;
  --neon-pink: #ff00ff;
  --neon-blue: #00ffff;
  --error-red: #ff0000;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
}

/* Core Styles */
body {
  font-family: 'Space Mono', monospace;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container-fluid {
  padding: 0 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ==========================================================================
   UI EFFECTS COMPONENTS
   ========================================================================== */

/* Cursor Follower */
.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--neon-green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

/* Glitch Overlay */
.glitch-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 1px,
    rgba(0, 0, 0, 0.1) 1px,
    rgba(0, 0, 0, 0.1) 2px
  );
  pointer-events: none;
  z-index: 9998;
  opacity: 0.3;
}

/* ==========================================================================
   NAVIGATION COMPONENTS
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background-color: var(--black);
  border-bottom: 1px solid var(--white);
  margin-bottom: 20px;
}

.navbar-brand:focus,
.navbar-brand:hover {
    color: var(--neon-green);
}

.home-navbar {
  position: fixed;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  margin-left: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--neon-green);
}

.nav-link.active {
  color: var(--neon-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--neon-green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-line {
  width: 30px;
  height: 2px;
  background-color: var(--white);
  margin: 6px 0;
  transition: 0.3s;
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.5s;
  padding-top: 50px;
  padding-bottom: 25px;
  border-bottom: 1px solid #fff;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-link {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 0;
  letter-spacing: 2px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding: 150px 0 100px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 5vw;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

/* Glitch Text Effect */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-pink);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-blue);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

/* Complete Glitch Animations */
@keyframes glitch-anim-1 {
  0% { clip: rect(27px, 9999px, 30px, 0); }
  4% { clip: rect(42px, 9999px, 87px, 0); }
  8% { clip: rect(3px, 9999px, 82px, 0); }
  12% { clip: rect(64px, 9999px, 78px, 0); }
  16% { clip: rect(98px, 9999px, 93px, 0); }
  20% { clip: rect(61px, 9999px, 48px, 0); }
  24% { clip: rect(23px, 9999px, 13px, 0); }
  28% { clip: rect(16px, 9999px, 86px, 0); }
  32% { clip: rect(69px, 9999px, 43px, 0); }
  36% { clip: rect(26px, 9999px, 13px, 0); }
  40% { clip: rect(89px, 9999px, 34px, 0); }
  44% { clip: rect(75px, 9999px, 69px, 0); }
  48% { clip: rect(95px, 9999px, 49px, 0); }
  52% { clip: rect(13px, 9999px, 45px, 0); }
  56% { clip: rect(25px, 9999px, 3px, 0); }
  60% { clip: rect(82px, 9999px, 73px, 0); }
  64% { clip: rect(81px, 9999px, 71px, 0); }
  68% { clip: rect(61px, 9999px, 70px, 0); }
  72% { clip: rect(84px, 9999px, 79px, 0); }
  76% { clip: rect(20px, 9999px, 78px, 0); }
  80% { clip: rect(71px, 9999px, 37px, 0); }
  84% { clip: rect(53px, 9999px, 21px, 0); }
  88% { clip: rect(80px, 9999px, 44px, 0); }
  92% { clip: rect(18px, 9999px, 11px, 0); }
  96% { clip: rect(61px, 9999px, 73px, 0); }
  100% { clip: rect(67px, 9999px, 58px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(36px, 9999px, 71px, 0); }
  4% { clip: rect(85px, 9999px, 95px, 0); }
  8% { clip: rect(21px, 9999px, 45px, 0); }
  12% { clip: rect(54px, 9999px, 17px, 0); }
  16% { clip: rect(89px, 9999px, 25px, 0); }
  20% { clip: rect(12px, 9999px, 23px, 0); }
  24% { clip: rect(34px, 9999px, 65px, 0); }
  28% { clip: rect(67px, 9999px, 9px, 0); }
  32% { clip: rect(38px, 9999px, 92px, 0); }
  36% { clip: rect(75px, 9999px, 46px, 0); }
  40% { clip: rect(23px, 9999px, 31px, 0); }
  44% { clip: rect(42px, 9999px, 15px, 0); }
  48% { clip: rect(59px, 9999px, 87px, 0); }
  52% { clip: rect(10px, 9999px, 66px, 0); }
  56% { clip: rect(42px, 9999px, 33px, 0); }
  60% { clip: rect(38px, 9999px, 27px, 0); }
  64% { clip: rect(84px, 9999px, 16px, 0); }
  68% { clip: rect(34px, 9999px, 82px, 0); }
  72% { clip: rect(72px, 9999px, 31px, 0); }
  76% { clip: rect(39px, 9999px, 66px, 0); }
  80% { clip: rect(27px, 9999px, 13px, 0); }
  84% { clip: rect(10px, 9999px, 56px, 0); }
  88% { clip: rect(85px, 9999px, 35px, 0); }
  92% { clip: rect(33px, 9999px, 27px, 0); }
  96% { clip: rect(19px, 9999px, 64px, 0); }
  100% { clip: rect(45px, 9999px, 16px, 0); }
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
}

/* Call to Action */

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    border: 2px solid var(--white);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-container {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  border: 2px solid var(--white);
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--black);
}

.users-count {
  font-size: 14px;
  color: var(--gray);
}

.count {
  color: var(--neon-green);
  font-weight: 700;
}

/* Hero Image */
.hero-image-container {
  position: relative;
  border: 2px solid var(--white);
  padding: 20px;
}

.image-glitch {
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(120%);
}

.image-glitch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--neon-green);
  mix-blend-mode: overlay;
  opacity: 0.3;
}

.image-data {
  margin-top: 20px;
  font-size: 12px;
  color: var(--neon-green);
}

.data-line {
  margin-bottom: 5px;
  font-family: 'Space Mono', monospace;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.scroll-text {
  font-size: 12px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.scroll-arrow {
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ==========================================================================
   MARQUEE SECTION
   ========================================================================== */

.marquee-container {
  overflow: hidden;
  background-color: var(--neon-green);
  color: var(--black);
  padding: 10px 0;
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee span {
  display: inline-block;
  padding-right: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

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

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */

section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.section-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--neon-green);
  margin-right: 20px;
  line-height: 1;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}

.section-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--white);
  margin-left: 20px;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.feature-grid {
  margin-top: 60px;
}

.feature-item {
  margin-bottom: 40px;
  position: relative;
  padding: 30px;
  border: 1px solid var(--white);
}

.feature-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: var(--black);
  padding: 0 10px;
  font-size: 14px;
  color: var(--neon-green);
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 16px;
  color: var(--light-gray);
}

/* ==========================================================================
   CODE TERMINAL SECTION
   ========================================================================== */

.code-section {
  background-color: var(--dark-gray);
  padding: 80px 0;
}

.terminal {
  background-color: var(--black);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin: 0 auto;
}

.terminal-header {
  background-color: var(--dark-gray);
  padding: 10px;
  display: flex;
  align-items: center;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.terminal-button:nth-child(1) { background-color: var(--error-red); }
.terminal-button:nth-child(2) { background-color: #ffbd2e; }
.terminal-button:nth-child(3) { background-color: #28c941; }

.terminal-title {
  margin-left: 10px;
  font-size: 12px;
  color: var(--light-gray);
}

.terminal-body {
  padding: 20px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--light-gray);
}

.line {
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 0.5s steps(30, end);
}

.line:last-child::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.pricing-grid {
  margin-top: 60px;
}

.pricing-item {
  border: 1px solid var(--white);
  padding: 40px;
  height: 100%;
  position: relative;
}

.pricing-item.featured {
  border: 2px solid var(--neon-green);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--neon-green);
  color: var(--black);
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-header {
  margin-bottom: 30px;
  text-align: center;
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: var(--neon-green);
}

.pricing-price span {
  font-size: 16px;
  color: var(--gray);
}

.pricing-features {
  margin-bottom: 30px;
}

.feature-row {
  display: flex;
  margin-bottom: 15px;
}

.feature-row.disabled {
  opacity: 0.5;
}

.feature-check {
  margin-right: 10px;
  color: var(--neon-green);
}

.feature-row.disabled .feature-check {
  color: var(--error-red);
}

.pricing-cta {
  text-align: center;
}

.btn-pricing {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-pricing:hover {
  background-color: var(--white);
  color: var(--black);
}

.featured .btn-pricing {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.featured .btn-pricing:hover {
  background-color: var(--neon-green);
  color: var(--black);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-item {
  border: 1px solid var(--white);
  padding: 30px;
}

.testimonial-content {
  font-size: 18px;
  margin-bottom: 30px;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 60px;
  color: var(--neon-green);
  opacity: 0.3;
}

.author-name {
  font-weight: 700;
  margin-bottom: 5px;
}

.author-title {
  font-size: 12px;
  color: var(--gray);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats {
  background-color: var(--dark-gray);
  padding: 60px 0;
}

.stats-grid {
  text-align: center;
}

.stat-item {
  margin-bottom: 30px;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--light-gray);
  letter-spacing: 1px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-form {
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: 15px;
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: 'Space Mono', monospace;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-green);
}

.btn-submit {
  padding: 15px 30px;
  background-color: var(--white);
  color: var(--black);
  border: none;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background-color: var(--neon-green);
}

.contact-info {
  padding-left: 40px;
}

.info-item {
  margin-bottom: 30px;
}

.info-label {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.info-value {
  font-size: 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: var(--black);
  padding: 60px 0;
  border-top: 1px solid var(--white);
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  margin-right: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-link:hover {
  color: var(--neon-green);
}

.footer-copyright {
  font-size: 12px;
  color: var(--gray);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 991px) {
  .hero-title {
    font-size: 7vw;
  }
  
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .contact-info {
    padding-left: 0;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 10vw;
  }
  
  .hero-image-container {
    margin-top: 40px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .section-number {
    margin-bottom: 10px;
  }
  
  .section-line {
    display: none;
  }
  
  .feature-item,
  .pricing-item,
  .testimonial-item {
    margin-bottom: 30px;
  }

  .cta-container {
    flex-direction: column;
  }
}

/* Product Image Optimization */
.product-image {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

/* Additional styles for privacy policy */
        .privacy-section {
            padding: 60px 0;
            color: #e0e0e0;
        }
        
        .policy-item {
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .policy-number {
            font-size: 1.2rem;
            color: var(--neon-green);
            margin-bottom: 10px;
            font-weight: bold;
        }
        
        .policy-title {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .policy-content {
            line-height: 1.8;
        }
        
        .policy-content h4 {
            margin-top: 25px;
            margin-bottom: 15px;
            color: var(--neon-green);
            font-size: 1.3rem;
        }
        
        .policy-content ul {
            padding-left: 20px;
            margin: 15px 0;
        }
        
        .policy-content li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 20px;
        }
        
        .policy-content li:before {
            content: ">";
            position: absolute;
            left: 0;
            color: var(--neon-green);
        }
        
        .highlight-box {
            background: rgba(77, 255, 234, 0.08);
            border-left: 3px solid var(--neon-green);
            padding: 20px;
            margin: 25px 0;
            border-radius: 0 4px 4px 0;
        }
        
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: rgba(77, 255, 234, 0.2);
            color: #fff;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s;
            border: 1px solid rgba(77, 255, 234, 0.4);
        }
        
        .back-to-top:hover {
            background: rgba(77, 255, 234, 0.3);
            transform: translateY(-5px);
        }
        
        .toc-container {
            background: rgba(30, 30, 40, 0.8);
            padding: 25px;
            border-radius: 8px;
            margin-bottom: 40px;
            border: 1px solid rgba(77, 255, 234, 0.2);
        }
        
        .toc-title {
            color: var(--neon-green);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .toc-list li {
            margin-bottom: 12px;
        }
        
        .toc-list a {
            color: #e0e0e0;
            text-decoration: none;
            display: flex;
            align-items: center;
            transition: all 0.3s;
        }
        
        .toc-list a:hover {
            color: var(--neon-green);
            transform: translateX(5px);
        }
        
        .toc-list a:before {
            content: ">";
            margin-right: 10px;
            color: var(--neon-green);
            font-weight: bold;
        }
        
        .data-types {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .data-card {
            background: rgba(30, 30, 40, 0.5);
            border: 1px solid rgba(77, 255, 234, 0.2);
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s;
        }
        
        .data-card:hover {
            transform: translateY(-5px);
            border-color: rgba(77, 255, 234, 0.5);
        }
        
        .data-card h5 {
            color: var(--neon-green);
            margin-bottom: 15px;
        }
        
        .data-card ul {
            padding-left: 20px;
            margin: 0;
        }
        
        .data-card li {
            margin-bottom: 8px;
            padding-left: 0;
        }
        
        .data-card li:before {
            content: "•";
            color: var(--neon-green);
            margin-right: 8px;
        }
        
        @media (max-width: 768px) {
            .policy-title {
                font-size: 1.5rem;
            }
            
            .toc-container {
                padding: 15px;
            }
            
            .data-types {
                grid-template-columns: 1fr;
            }
        }

        


 /* Additional styles for terms page */
        .terms-section {
            padding: 60px 0;
            color: #e0e0e0;
        }
        
        .term-item {
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .term-number {
            font-size: 1.2rem;
            color: #fff;
            margin-bottom: 10px;
            font-weight: bold;
        }
        
        .term-title {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--neon-green);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .term-content {
            line-height: 1.8;
        }
        
        .term-content h4 {
            margin-top: 25px;
            margin-bottom: 15px;
            color: var(--neon-green);
            font-size: 1.3rem;
        }
        
        .term-content ul {
            padding-left: 20px;
            margin: 15px 0;
        }
        
        .term-content li {
            margin-bottom: 8px;
            position: relative;
            padding-left: 20px;
        }
        
        .term-content li:before {
            content: ">";
            position: absolute;
            left: 0;
            color: var(--neon-green);
        }
        
        .highlight-box {
            background: rgba(77, 255, 234, 0.08);
            border-left: 3px solid var(--neon-green);
            padding: 20px;
            margin: 25px 0;
            border-radius: 0 4px 4px 0;
        }
        
        .back-to-top:hover {
            background: rgba(77, 255, 234, 0.3);
            transform: translateY(-5px);
        }
        
        .toc-container {
            background: rgba(30, 30, 40, 0.8);
            padding: 25px;
            border-radius: 8px;
            margin-bottom: 40px;
            border: 1px solid rgba(77, 255, 234, 0.2);
        }
        
        .toc-title {
            color: var(--neon-green);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .toc-list li {
            margin-bottom: 12px;
        }
        
        .toc-list a {
            color: #e0e0e0;
            text-decoration: none;
            display: flex;
            align-items: center;
            transition: all 0.3s;
        }
        
        .toc-list a:hover {
            color: var(--neon-green);
            transform: translateX(5px);
        }
        
        .toc-list a:before {
            content: ">";
            margin-right: 10px;
            color: var(--neon-green);
            font-weight: bold;
        }
        
        @media (max-width: 768px) {
            .term-title {
                font-size: 1.5rem;
            }
            
            .toc-container {
                padding: 15px;
            }
        }
        
 /* Additional styles for success message */        
        
        .success-message {
            top: 0;
            left: 0;
            display: flex;
            flex-direction: column;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }
        
        .success-message.active {
            opacity: 1;
            visibility: visible;
        }
        
        .success-message h2 {
            font-size: 28px;
            color: #27ae60;
            margin-bottom: 15px;
        }
        
        .success-message p {
            font-size: 17px;
            color: #555;
            margin-bottom: 25px;
            line-height: 1.6;
        }

/* ==========================================================================
   TEMPLATE COMPLETION FIXES
   ========================================================================== */

body.menu-open {
  overflow: hidden;
}

.cursor-follower {
  transition: left 0.1s ease, top 0.1s ease;
}

.menu-toggle.active .menu-line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active .menu-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  max-height: 100vh;
  overflow-y: auto;
}

.mobile-link.active {
  color: var(--neon-green);
}

.scroll-indicator {
  cursor: pointer;
}

@keyframes glitch-anim {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.ascii-section {
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.ascii-container {
  border: 1px solid var(--white);
  padding: 40px 20px;
  overflow-x: auto;
}

.ascii-art {
  margin: 0;
  color: var(--neon-green);
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
  white-space: pre;
}

.blog-preview {
  padding-top: 100px;
}

.blog-archive {
  padding-top: 140px;
  min-height: calc(100vh - 140px);
}

.blog-preview .row > [class*="col-"] {
  margin-bottom: 30px;
}

.blog-card {
  border: 1px solid var(--white);
  padding: 30px;
  height: 100%;
  transition: transform 0.3s, border-color 0.3s;
}

.blog-card:hover {
  border-color: var(--neon-green);
  transform: translateY(-6px);
}

.blog-date {
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.blog-title {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.blog-excerpt {
  color: var(--light-gray);
  margin-bottom: 25px;
}

.blog-link {
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
}

.blog-link:hover {
  color: var(--white);
}

.pagination-container {
  margin-top: 30px;
  text-align: center;
}

.pagination-container .nav-links {
  display: inline-flex;
  gap: 12px;
}

.pagination-container .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 10px 16px;
  border: 1px solid var(--white);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.pagination-container .page-numbers:hover,
.pagination-container .page-numbers.current {
  background-color: var(--white);
  color: var(--black);
}

.cta-section {
  background-color: var(--dark-gray);
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
}

.cta-title {
  font-size: clamp(40px, 5vw, 72px);
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cta-text {
  max-width: 640px;
  margin: 0 auto 30px;
  color: var(--light-gray);
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-post-header {
  padding: 140px 0 60px;
  border-bottom: 1px solid var(--white);
}

.post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.post-date {
  color: var(--gray);
}

.post-category {
  color: var(--neon-green);
}

.post-title {
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.post-author {
  font-size: 14px;
  color: var(--light-gray);
  letter-spacing: 2px;
}

.blog-post-content {
  padding: 80px 0 100px;
}

.post-featured-image {
  border: 1px solid var(--white);
  padding: 20px;
  margin-bottom: 40px;
}

.featured-image {
  width: 100%;
  display: block;
  filter: grayscale(100%) contrast(120%);
}

.post-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--light-gray);
}

.post-body > * {
  margin-bottom: 24px;
}

.post-lead {
  font-size: 20px;
  color: var(--white);
}

.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-body ul,
.post-body ol {
  margin: 24px 0 24px 20px;
}

.post-body li {
  margin-bottom: 10px;
}

.post-body a {
  color: var(--neon-green);
}

.post-body a:hover {
  color: var(--white);
}

.post-body blockquote {
  margin: 30px 0;
  padding-left: 20px;
  border-left: 2px solid var(--neon-green);
  color: var(--white);
}

.post-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border: 1px solid var(--white);
  padding: 10px;
}

.post-body pre,
.post-body code {
  font-family: 'Space Mono', monospace;
}

.footer-logo {
  letter-spacing: 2px;
}

@media (max-width: 991px) {
  .ascii-art {
    font-size: 13px;
  }

  .post-title {
    font-size: 64px;
  }
}

@media (max-width: 767px) {
  .ascii-container {
    padding: 20px 10px;
  }

  .ascii-art {
    font-size: 10px;
  }

  .blog-post-header {
    padding: 120px 0 40px;
  }

  .blog-post-content {
    padding: 60px 0 80px;
  }

  .post-meta {
    flex-direction: column;
    gap: 8px;
  }

  .post-title {
    font-size: 14vw;
  }

  .blog-title {
    font-size: 22px;
  }

  .cta-title {
    font-size: 12vw;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .terminal-body {
    overflow-x: auto;
  }
}

/* ==========================================================================
   STATIC PAGE LAYOUTS
   ========================================================================== */

.page-header {
  padding: 140px 0 70px;
  border-bottom: 1px solid var(--white);
}

.page-title {
  font-size: clamp(54px, 8vw, 140px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-subtitle {
  color: var(--gray);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.manifesto-section,
.history-section,
.team-section,
.products-section,
.interactive-terminal-section,
.comparison-section,
.docs-section,
.blog-grid-section,
.newsletter-section,
.faq-section,
.map-section,
.contact-section {
  padding: 90px 0;
}

.manifesto,
.docs-block,
.contact-form-container,
.contact-info-container,
.newsletter-container,
.featured-post,
.blog-post,
.faq-item {
  border: 1px solid var(--white);
  background-color: rgba(255, 255, 255, 0.02);
}

.manifesto {
  padding: 40px;
}

.manifesto-title,
.contact-form-title,
.contact-info-title,
.newsletter-title {
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.manifesto-text p {
  font-size: 18px;
  color: var(--light-gray);
  margin-bottom: 18px;
}

.timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--white);
}

.timeline-item {
  position: relative;
  margin-bottom: 45px;
  padding-left: 35px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--neon-green);
  box-shadow: 0 0 12px var(--neon-green);
}

.timeline-year {
  color: var(--neon-green);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-title,
.member-name,
.product-title,
.featured-title,
.newsletter-title,
.docs-title,
.policy-title,
.term-title {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-title {
  margin-bottom: 10px;
  font-size: 28px;
}

.timeline-text,
.member-bio,
.product-description p,
.featured-excerpt,
.post-excerpt,
.newsletter-text,
.docs-text p {
  color: var(--light-gray);
}

.team-grid > [class*="col-"] {
  margin-bottom: 30px;
}

.team-member {
  border: 1px solid var(--white);
  height: 100%;
}

.member-image-container,
.product-image-container,
.featured-image-container,
.post-image-container,
.map-placeholder {
  position: relative;
  overflow: hidden;
}

.member-image,
.product-image,
.featured-image,
.post-image {
  width: 100%;
  display: block;
  filter: grayscale(100%) contrast(115%);
  transition: transform 0.4s ease;
}

.member-overlay,
.product-overlay,
.featured-overlay,
.post-overlay,
.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 255, 0, 0.05), rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.team-member:hover .member-image,
.product-item:hover .product-image,
.featured-post:hover .featured-image,
.blog-post:hover .post-image {
  transform: scale(1.04);
}

.member-info,
.post-content,
.featured-content {
  padding: 26px 28px 30px;
}

.member-title,
.post-category,
.info-label,
.social-title {
  color: var(--neon-green);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.products-section .row + hr,
.product-grid > hr {
  margin: 40px 0;
  border-color: rgba(255, 255, 255, 0.2);
}

.product-item {
  border: 1px solid var(--white);
  padding: 26px;
  height: 100%;
}

.product-header,
.post-meta,
.faq-question,
.info-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.product-number,
.question-number {
  color: var(--neon-green);
  font-weight: 700;
}

.product-title {
  font-size: 30px;
  margin-bottom: 0;
  flex: 1;
}

.product-description {
  padding-top: 24px;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 28px;
}

.spec-item {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px;
}

.spec-label {
  color: var(--gray);
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.spec-value {
  color: var(--white);
  font-weight: 700;
}

.product-cta,
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.interactive-terminal {
  max-width: none;
}

.terminal-input-container {
  display: flex;
  gap: 16px;
  padding: 0 20px 20px;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 14px 16px;
  font-family: 'Space Mono', monospace;
}

.terminal-submit {
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  padding: 14px 22px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
}

.terminal-submit:hover,
.terminal-input:focus {
  border-color: var(--neon-green);
  outline: none;
}

.terminal-help {
  margin-top: 24px;
}

.help-title {
  color: var(--gray);
  margin-bottom: 12px;
}

.help-commands {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.help-command {
  border: 1px solid var(--white);
  padding: 8px 12px;
}

.comparison-table-container {
  overflow-x: auto;
  border: 1px solid var(--white);
}

.comparison-table,
.docs-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td,
.docs-table th,
.docs-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 20px;
  text-align: left;
}

.comparison-table th,
.docs-table th {
  color: var(--neon-green);
  text-transform: uppercase;
}

.docs-sidebar {
  position: sticky;
  top: 110px;
  border: 1px solid var(--white);
  padding: 24px;
}

.sidebar-section + .sidebar-section {
  margin-top: 28px;
}

.sidebar-title {
  color: var(--neon-green);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li + li {
  margin-top: 10px;
}

.sidebar-link,
.docs-link {
  color: var(--white);
  text-decoration: none;
}

.sidebar-link.active,
.sidebar-link:hover,
.docs-link:hover {
  color: var(--neon-green);
}

.docs-block {
  padding: 34px;
  margin-bottom: 26px;
}

.docs-title {
  font-size: 34px;
  margin-bottom: 18px;
}

.docs-subtitle {
  font-size: 18px;
  margin: 24px 0 10px;
  color: var(--white);
}

.code-block {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.03);
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
}

.warning-block,
.highlight-box {
  border-left: 2px solid var(--neon-green);
  background-color: rgba(0, 255, 0, 0.06);
  padding: 18px 20px;
  margin-top: 20px;
}

.warning-title {
  color: var(--neon-green);
  margin-bottom: 6px;
}

.featured-post,
.blog-post {
  height: 100%;
}

.featured-post .featured-image-container {
  height: 100%;
  min-height: 280px;
}

.featured-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-title {
  font-size: clamp(34px, 4vw, 56px);
  margin-bottom: 18px;
}

.blog-post .post-image-container {
  min-height: 220px;
}

.blog-post .post-content {
  height: calc(100% - 220px);
}

.blog-post .post-title {
  font-size: 28px;
  margin: 16px 0 14px;
}

.post-link {
  color: var(--neon-green);
  text-decoration: none;
  font-weight: 700;
}

.post-link:hover {
  color: var(--white);
}

.newsletter-container {
  padding: 44px;
  text-align: center;
}

.newsletter-form .input-group {
  gap: 16px;
}

.newsletter-form .form-control {
  height: 54px;
}

.newsletter-disclaimer {
  margin-top: 16px;
  color: var(--gray);
  font-size: 14px;
}

.faq-item + .faq-item {
  margin-top: 18px;
}

.faq-question {
  padding: 22px 26px;
  cursor: pointer;
}

.question-text {
  flex: 1;
  margin: 0;
  font-size: 20px;
}

.question-toggle {
  color: var(--neon-green);
  font-size: 24px;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 26px 24px;
  color: var(--light-gray);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .question-toggle {
  transform: rotate(45deg);
}

.map-container {
  border: 1px solid var(--white);
}

.map-placeholder {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 255, 0, 0.15), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.8));
}

.map-text {
  position: relative;
  z-index: 1;
}

.map-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.map-address {
  color: var(--light-gray);
  letter-spacing: 1px;
}

.contact-form-container,
.contact-info-container {
  padding: 34px;
  height: 100%;
}

.contact-info-container .contact-info {
  padding-left: 0;
}

.social-icons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
}

.social-icon:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.success-message {
  display: none;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--neon-green);
  background-color: rgba(0, 255, 0, 0.08);
}

.success-message.active {
  display: block;
}

.success-message h2 {
  margin-bottom: 10px;
}

.success-message button {
  margin-top: 18px;
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  padding: 10px 16px;
}

.toc-container {
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .docs-sidebar {
    position: static;
    margin-bottom: 30px;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .featured-post .featured-image-container,
  .blog-post .post-image-container {
    min-height: 180px;
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 120px 0 50px;
  }

  .page-subtitle {
    letter-spacing: 2px;
  }

  .manifesto,
  .docs-block,
  .contact-form-container,
  .contact-info-container,
  .newsletter-container,
  .product-item {
    padding: 24px;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-item {
    padding-left: 25px;
  }

  .product-cta,
  .terminal-input-container,
  .newsletter-form .input-group {
    flex-direction: column;
  }

  .faq-question,
  .product-header,
  .post-meta {
    gap: 12px;
  }

  .question-text {
    font-size: 18px;
  }

  .map-placeholder {
    min-height: 260px;
  }
}

@media (pointer: coarse) {
  .cursor-follower {
    display: none;
  }
}

/* ==========================================================================
   2026 SITE OPTIMIZATION LAYER
   ========================================================================== */

:root {
  --panel-bg: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --surface-strong: rgba(0, 0, 0, 0.78);
  --accent-green: #7bff7b;
  --accent-cyan: #86f7ff;
  --accent-pink: #ff6bd6;
  --body-copy: #e6f6e6;
  --muted-copy: #9dc09d;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", "IBM Plex Mono", "PingFang SC", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--body-copy);
  background:
    radial-gradient(circle at top right, rgba(0, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at left center, rgba(123, 255, 123, 0.08), transparent 22%),
    linear-gradient(180deg, #040804 0%, #010301 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 255, 123, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 255, 123, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

body.menu-open {
  overflow: hidden;
}

body:not(.is-loaded) .site-main,
body:not(.is-loaded) .footer,
body:not(.is-loaded) .navbar {
  opacity: 0;
}

body.is-loaded .site-main,
body.is-loaded .footer,
body.is-loaded .navbar {
  opacity: 1;
  transition: opacity 0.4s ease;
}

a,
button,
input,
select,
textarea,
label {
  cursor: pointer;
}

input,
textarea {
  cursor: text;
}

.site-main,
.footer,
.navbar {
  position: relative;
  z-index: 2;
}

.container-fluid {
  max-width: 1440px;
  padding: 0 32px;
}

.navbar,
.home-navbar {
  background: rgba(1, 8, 1, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(123, 255, 123, 0.2);
  margin-bottom: 0;
}

.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
}

.brand-mark {
  font-size: 24px;
  line-height: 1;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--muted-copy);
  letter-spacing: 0.18em;
}

.nav-links {
  align-items: center;
  gap: 22px;
}

.nav-link {
  margin-left: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--body-copy);
}

.nav-status {
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-status span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--panel-border);
  color: var(--accent-green);
  background: rgba(123, 255, 123, 0.05);
}

.menu-toggle {
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--panel-border);
  color: var(--body-copy);
}

.menu-toggle .menu-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.menu-line {
  width: 22px;
  background-color: var(--body-copy);
}

.menu-toggle.active .menu-line:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active .menu-line:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  min-height: 100vh;
  padding: 110px 24px 32px;
  background: rgba(0, 7, 0, 0.94);
  backdrop-filter: blur(16px);
  justify-content: flex-start;
  align-items: stretch;
  border-bottom-color: rgba(123, 255, 123, 0.18);
}

.mobile-menu-inner {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-menu-meta {
  margin-bottom: 20px;
}

.mobile-brand {
  font-family: var(--font-mono);
  font-size: 28px;
  letter-spacing: 0.12em;
}

.mobile-copy {
  margin-top: 8px;
  color: var(--muted-copy);
  font-size: 14px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
}

.mobile-link {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.mobile-link-muted {
  color: var(--muted-copy);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1002;
  background: rgba(255, 255, 255, 0.06);
}

.reading-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  box-shadow: 0 0 12px rgba(123, 255, 123, 0.9);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 6, 0, 0.94);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
}

.loader-shell {
  width: min(420px, calc(100vw - 40px));
  border: 1px solid rgba(123, 255, 123, 0.25);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--panel-shadow);
}

.loader-header {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(123, 255, 123, 0.12);
}

.loader-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
}

.loader-header span:nth-child(2) {
  background: var(--accent-cyan);
}

.loader-header span:nth-child(3) {
  background: var(--accent-pink);
}

.loader-body {
  padding: 22px 18px;
  font-family: var(--font-mono);
}

.loader-line {
  color: var(--body-copy);
  font-size: 14px;
}

.loader-line + .loader-line {
  margin-top: 12px;
}

.hero {
  min-height: calc(100vh - 40px);
  padding: 170px 0 110px;
}

.hero-label,
.page-subtitle,
.hero-meta-item,
.users-count,
.section-number,
.terminal-title,
.blog-date,
.post-date,
.post-category,
.tool-category-number,
.tool-category-count,
.footer-logo,
.footer-utility-title,
.footer-copyright {
  font-family: var(--font-mono);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(123, 255, 123, 0.18);
  background: rgba(123, 255, 123, 0.05);
  color: var(--accent-green);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(46px, 7vw, 98px);
  line-height: 0.98;
  letter-spacing: 0.06em;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--body-copy);
  font-size: 18px;
  line-height: 1.9;
}

.cta-container {
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-submit {
  border-color: rgba(123, 255, 123, 0.24);
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
}

.btn-primary {
  background: linear-gradient(120deg, rgba(123, 255, 123, 0.95), rgba(134, 247, 255, 0.88));
  color: #021402;
}

.btn-primary:hover,
.btn-submit:hover {
  background: transparent;
  color: var(--accent-green);
  box-shadow: 0 0 16px rgba(123, 255, 123, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--body-copy);
}

.btn-secondary:hover {
  background: rgba(123, 255, 123, 0.08);
  color: var(--accent-green);
}

.hero-image-container,
.feature-item,
.tool-category-card,
.blog-card,
.product-item,
.contact-form-container,
.contact-info-container,
.docs-sidebar,
.docs-block,
.featured-post,
.blog-post,
.newsletter-container,
.team-member,
.faq-item,
.toc-container,
.term-item,
.policy-item {
  background: var(--panel-bg);
  border-color: var(--panel-border);
  box-shadow: var(--panel-shadow);
}

.hero-image-container {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-image {
  min-height: 380px;
  object-fit: cover;
}

.image-data {
  display: grid;
  gap: 8px;
}

.data-line {
  color: var(--accent-green);
  letter-spacing: 0.12em;
}

.hero-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta-item {
  min-width: 160px;
  padding: 12px 16px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted-copy);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-meta-item .count {
  font-size: 20px;
}

.marquee-container {
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
}

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

section {
  padding: 92px 0;
}

.section-title,
.feature-title,
.product-title,
.docs-title,
.footer-logo,
.manifesto-title,
.newsletter-title,
.cta-title {
  font-family: var(--font-mono);
}

.section-number {
  color: var(--accent-green);
}

.section-line {
  background: linear-gradient(90deg, rgba(123, 255, 123, 0.8), rgba(255, 255, 255, 0.05));
}

.feature-item {
  height: 100%;
  padding: 32px;
  background: rgba(255, 255, 255, 0.025);
}

.feature-item:hover,
.tool-category-card:hover,
.product-item:hover,
.blog-card:hover,
.blog-post:hover,
.team-member:hover {
  transform: translateY(-6px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  border-color: rgba(123, 255, 123, 0.28);
}

.feature-desc,
.tool-category-desc,
.product-description p,
.docs-text p,
.timeline-text,
.member-bio,
.footer-description {
  color: var(--muted-copy);
}

.tool-categories-section {
  background: linear-gradient(180deg, rgba(4, 15, 6, 0.88), rgba(1, 7, 1, 0.4));
}

.tool-category-grid {
  row-gap: 24px;
}

.tool-category-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
}

.tool-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tool-category-number,
.tool-category-count {
  color: var(--accent-green);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.tool-category-title {
  margin-bottom: 12px;
  font-size: 26px;
}

.tool-category-tags,
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tool-category-tags span,
.product-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(123, 255, 123, 0.18);
  background: rgba(123, 255, 123, 0.05);
  color: var(--accent-green);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.category-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.code-section {
  background:
    linear-gradient(180deg, rgba(8, 18, 10, 0.9), rgba(3, 8, 4, 0.92)),
    linear-gradient(90deg, rgba(123, 255, 123, 0.06), transparent 35%);
}

.terminal {
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(123, 255, 123, 0.16);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(123, 255, 123, 0.12);
}

.terminal-body {
  color: #c6f7c6;
}

.line {
  white-space: normal;
  line-height: 1.8;
}

.stats {
  background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
  row-gap: 18px;
}

.stat-item {
  padding: 26px 20px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.02);
}

.stat-value {
  color: var(--accent-green);
  font-family: var(--font-mono);
}

.blog-preview .blog-card,
.blog-post,
.featured-post {
  height: 100%;
}

.page-header {
  padding: 160px 0 70px;
  background:
    radial-gradient(circle at center right, rgba(255, 107, 214, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(0, 12, 2, 0.88), rgba(0, 0, 0, 0));
}

.page-subtitle {
  margin-top: 18px;
  color: var(--muted-copy);
  letter-spacing: 0.08em;
}

.manifesto,
.timeline-item,
.contact-side-card,
.map-placeholder {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.025);
}

.timeline-item {
  padding: 28px 28px 28px 48px;
}

.timeline-item::before {
  background: linear-gradient(180deg, var(--accent-green), var(--accent-cyan));
}

.timeline-year {
  color: var(--accent-green);
}

.member-title,
.product-category,
.contact-info-title,
.contact-form-title,
.docs-subtitle,
.warning-title {
  color: var(--accent-green);
  letter-spacing: 0.1em;
}

.product-item {
  height: 100%;
  padding: 26px;
}

.featured-tools-grid {
  row-gap: 28px;
}

.product-header {
  align-items: flex-start;
  gap: 18px;
}

.product-category {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.product-image-container {
  margin: 24px 0;
}

.product-image {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.product-description {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-specs {
  display: grid;
  gap: 12px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.spec-value {
  color: var(--body-copy);
  text-align: right;
}

.contact-form-container,
.contact-info-container {
  height: 100%;
  padding: 34px;
}

.contact-form-intro {
  margin-bottom: 22px;
  color: var(--muted-copy);
}

.contact-form .form-control {
  min-height: 54px;
  border: 1px solid rgba(123, 255, 123, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--body-copy);
  border-radius: 0;
}

.contact-form textarea.form-control {
  min-height: 180px;
}

.contact-form label,
.contact-checklist li,
.docs-steps li {
  color: var(--body-copy);
}

.contact-feedback {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--panel-border);
  font-size: 14px;
}

.contact-feedback-success {
  border-color: rgba(123, 255, 123, 0.26);
  background: rgba(123, 255, 123, 0.08);
  color: var(--accent-green);
}

.contact-feedback-error {
  border-color: rgba(255, 107, 214, 0.28);
  background: rgba(255, 107, 214, 0.08);
  color: #ffc3f0;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background: linear-gradient(120deg, rgba(123, 255, 123, 0.95), rgba(134, 247, 255, 0.88));
  color: #021402;
  border: 2px solid rgba(123, 255, 123, 0.24);
  transition: all 0.3s ease;
}

.contact-side-card {
  margin-top: 28px;
  padding: 24px;
}

.contact-side-card h3 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 18px;
}

.contact-checklist {
  padding-left: 18px;
  margin: 0;
}

.contact-checklist li + li {
  margin-top: 8px;
}

.info-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-label {
  margin-bottom: 8px;
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.info-value,
.info-value a {
  color: var(--body-copy);
}

.info-separator {
  margin: 0 8px;
  color: var(--muted-copy);
}

.faq-item {
  overflow: hidden;
}

.faq-answer {
  color: var(--muted-copy);
}

.faq-item.active .question-toggle {
  color: var(--accent-green);
}

.map-placeholder {
  padding: 36px;
}

.map-text {
  position: relative;
  z-index: 2;
}

.map-title {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--accent-green);
}

.map-address {
  margin-top: 12px;
  color: var(--body-copy);
}

.map-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-copy);
}

.map-meta a {
  color: var(--accent-green);
}

.docs-sidebar {
  position: sticky;
  top: 110px;
  padding: 28px;
}

.docs-block {
  padding: 28px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.025);
}

.docs-block + .docs-block {
  margin-top: 22px;
}

.sidebar-title {
  color: var(--accent-green);
  font-family: var(--font-mono);
}

.sidebar-link {
  color: var(--muted-copy);
}

.sidebar-link.active,
.sidebar-link:hover {
  color: var(--accent-green);
}

.docs-table th,
.docs-table td,
.comparison-table th,
.comparison-table td {
  border-color: rgba(255, 255, 255, 0.08);
}

.docs-table th,
.comparison-table th {
  color: var(--accent-green);
  font-family: var(--font-mono);
}

.docs-link {
  color: var(--accent-green);
}

.docs-steps {
  padding-left: 20px;
  margin: 0;
}

.docs-steps li + li {
  margin-top: 10px;
}

.warning-block {
  margin-top: 20px;
  border: 1px solid rgba(255, 107, 214, 0.18);
  background: rgba(255, 107, 214, 0.06);
}

.warning-text {
  color: #ffd3f7;
}

.footer {
  background: rgba(1, 8, 1, 0.92);
  border-top: 1px solid rgba(123, 255, 123, 0.15);
}

.footer-grid {
  row-gap: 32px;
}

.footer-logo {
  font-size: 34px;
  letter-spacing: 0.16em;
}

.footer-tagline {
  color: var(--accent-green);
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
}

.footer-description {
  max-width: 420px;
  margin-top: 18px;
}

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

.footer-link {
  color: var(--body-copy);
}

.footer-link-utility {
  display: inline-flex;
  margin-top: 10px;
}

.footer-utility-title {
  color: var(--accent-green);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.footer-note {
  margin-top: 14px;
  color: var(--muted-copy);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(123, 255, 123, 0.25);
  background: rgba(0, 10, 0, 0.86);
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 1001;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .nav-status {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .container-fluid {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 140px 0 90px;
  }

  .hero-title {
    font-size: clamp(42px, 12vw, 82px);
  }

  .hero-image {
    min-height: 320px;
  }

  .page-header {
    padding-top: 140px;
  }

  .docs-sidebar {
    position: static;
    margin-bottom: 26px;
  }

  .footer-description {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .container-fluid {
    padding: 0 20px;
  }

  section {
    padding: 74px 0;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
  }

  .cta-container,
  .category-actions,
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-meta-grid {
    flex-direction: column;
  }

  .section-header {
    align-items: flex-start;
    gap: 14px;
  }

  .section-line {
    width: 100%;
    margin-left: 0;
  }

  .tool-category-title,
  .section-title,
  .map-title {
    font-size: 24px;
  }

  .product-item,
  .contact-form-container,
  .contact-info-container,
  .docs-block,
  .docs-sidebar {
    padding: 22px;
  }

  .spec-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .spec-value {
    text-align: left;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (pointer: coarse) {
  .cursor-follower {
    display: none;
  }
}
