/* ==========================================================================
   EasyCloud.mom - Ultra-Minimalist Cyber Tech CSS Core
   Design Rule: STRICT ZERO ROUNDED CORNERS (border-radius: 0 !important)
   Theme: Monospace Terminal Cyberpunk / Matrix Dark Tech
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --bg-main: #05070a;
  --bg-card: #0b0f19;
  --bg-card-hover: #111827;
  --bg-terminal: #030407;
  
  --color-border: #1e293b;
  --color-border-glow: #00ff66;
  --color-border-cyan: #00e5ff;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-green: #00ff66;
  --accent-cyan: #00e5ff;
  --accent-magenta: #ff0055;
  --accent-yellow: #ffb703;

  --font-mono: 'Fira Code', 'Courier New', Courier, monospace;
  --font-sans: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  
  --grid-size: 32px;
}

/* Force Absolute Zero Border Radius everywhere */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    var(--bg-main);
  background-size: var(--grid-size) var(--grid-size);
}

/* Custom Cyber Canvas Cursor Tail Container */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, .mono {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-green);
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}

/* Utility Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  background: rgba(0, 255, 102, 0.05);
  margin-bottom: 1rem;
}

.badge-cyan {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-logo span {
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--accent-green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-green);
  color: #000000;
  border: 1px solid var(--accent-green);
  font-weight: 700;
}

.btn-primary:hover {
  background: #00e059;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
  color: #000000;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat-item .stat-val {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-green);
}

.stat-item .stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cyber Terminal Visual Box */
.terminal-window {
  background: var(--bg-terminal);
  border: 1px solid var(--color-border);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 1px var(--color-border-glow);
}

.terminal-header {
  background: #0d131f;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  background: #334155;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #38bdf8;
  height: 340px;
  overflow-y: auto;
}

.terminal-line {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.terminal-prompt {
  color: var(--accent-green);
  user-select: none;
}

.terminal-decrypt {
  color: var(--accent-cyan);
}

/* Features Grid */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 2.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  border-color: var(--accent-green);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 255, 102, 0.05);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Latency Live Monitor */
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.node-card {
  background: var(--bg-terminal);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-info .node-name {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.node-info .node-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-green);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-green);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.15);
}

.pricing-featured-tag {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--accent-green);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-green);
  margin: 1.5rem 0;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-weight: bold;
}

/* Testimonials / User Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 2rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  background: #1e293b;
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
}

.review-meta h4 {
  font-size: 1rem;
}

.review-meta p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-content {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.95rem;
  font-style: italic;
}

/* FAQ Section */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent-green);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  display: none;
  border-top: 1px dashed var(--color-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

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

.faq-toggle {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

/* SEO Articles Section */
.articles-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.article-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.article-mini-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.article-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.article-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.article-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Core Requirement 2: Footer PBN Keyword Link Engine */
footer.pbn-footer {
  background: #020305;
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 2rem 0;
  margin-top: 4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-pbn-section {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.pbn-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.pbn-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pbn-links-grid a {
  font-size: 0.78rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.pbn-links-grid a:hover {
  color: var(--accent-green);
  text-decoration: underline;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #475569;
}

/* Article Template Styles */
.article-header {
  padding: 4rem 0 2rem 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 1.5rem;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.85;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1.2rem 0;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-green);
  padding-left: 0.8rem;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 1.8rem 0 1rem 0;
  color: var(--accent-cyan);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 3px solid var(--accent-cyan);
  background: rgba(0, 229, 255, 0.04);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-cyan);
}

.article-internal-cta {
  background: var(--bg-card);
  border: 1px solid var(--accent-green);
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.article-internal-cta h3 {
  color: var(--text-primary);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .nodes-grid { grid-template-columns: 1fr 1fr; }
  .articles-preview-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 2.4rem; }
  .features-grid, .pricing-grid, .reviews-grid, .articles-preview-grid { grid-template-columns: 1fr; }
  .nodes-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
}
