@charset "UTF-8";

/* ==========================================================================
   CORDCLOUD // TERMINAL SESSION STYLESHEET (v2.4.1)
   Palette:
   - Near Black BG:    #0A0E0B
   - Dark Panel BG:    #0E150F
   - Phosphor Green:   #4AF626
   - Hairline Border:  rgba(74, 246, 38, 0.22)
   Font: JetBrains Mono ONLY
   ========================================================================== */

:root {
  --bg-main: #0A0E0B;
  --bg-panel: #0E150F;
  --fg-green: #4AF626;
  --border-line: rgba(74, 246, 38, 0.22);
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-main);
  color: var(--fg-green);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--fg-green);
  font-family: var(--font-mono);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 2% Opacity CRT Scanline Overlay (No Gradients - SVG Pattern) */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='2' fill='%234AF626'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Typography & Elements */
h1, h2, h3, h4, p, a, span, li, td, th, code, pre, button {
  font-family: var(--font-mono);
  color: var(--fg-green);
}

a {
  color: var(--fg-green);
  text-decoration: none;
  transition: background-color 0.12s steps(2), color 0.12s steps(2);
}

a:hover,
a:focus {
  background-color: var(--fg-green);
  color: var(--bg-main);
  outline: none;
}

ul, ol {
  list-style: none;
}

img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

/* Layout Containers */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-line);
}

.section-header {
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-line);
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-desc {
  margin-top: 8px;
  font-size: 0.92rem;
  opacity: 0.85;
}

/* Blinking Block Cursor */
.cursor-block {
  display: inline-block;
  width: 9px;
  height: 1.1em;
  background-color: var(--fg-green);
  vertical-align: text-bottom;
  margin-left: 4px;
  animation: blink 1s steps(2, start) infinite;
}

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

/* Header & Command Prompt Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-line);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

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

.logo-link {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border: 1px solid transparent;
}

.logo-link:hover {
  background-color: var(--fg-green);
  color: var(--bg-main);
}

.logo-link:hover .cursor-block {
  background-color: var(--bg-main);
}

.cmd-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.prompt-prefix {
  font-weight: 700;
  margin-right: 4px;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-links a {
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--fg-green);
  color: var(--bg-main);
}

/* Bracket Buttons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid var(--fg-green);
  background-color: var(--bg-panel);
  color: var(--fg-green);
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.12s steps(2), color 0.12s steps(2);
}

.btn:hover,
.btn:focus {
  background-color: var(--fg-green);
  color: var(--bg-main);
}

.btn-primary {
  background-color: var(--bg-main);
  border-width: 2px;
}

/* Hero Section */
.hero-section {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border-line);
}

.hero-overline {
  display: inline-block;
  font-size: 0.88rem;
  padding: 4px 10px;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: 2px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.3rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-bottom: 14px;
  max-width: 900px;
}

.hero-intro {
  font-size: 0.93rem;
  opacity: 0.88;
  max-width: 900px;
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 2px solid var(--fg-green);
}

/* Visual Center: Live Terminal Window */
.terminal-window {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: 2px;
  margin: 28px 0 32px;
}

.terminal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-line);
  font-size: 0.82rem;
}

.terminal-controls {
  display: flex;
  gap: 8px;
}

.terminal-box-dot {
  display: inline-block;
  padding: 0 4px;
  border: 1px solid var(--border-line);
  font-size: 0.75rem;
}

.terminal-body {
  padding: 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-x: auto;
}

.term-cmd-line {
  font-weight: 700;
  margin-bottom: 12px;
}

.term-output-list li {
  margin-bottom: 6px;
  word-break: break-all;
}

.term-summary {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-line);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* Grid Cards (Features, Streaming & AI, Reviews) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.panel-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: 2px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-line);
}

.card-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-line);
  padding: 4px;
  background-color: var(--bg-main);
  flex-shrink: 0;
}

.card-title {
  font-size: 1.08rem;
  font-weight: 700;
}

.card-body {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.card-meta {
  font-size: 0.8rem;
  padding-top: 10px;
  border-top: 1px solid var(--border-line);
  opacity: 0.85;
}

/* Streaming & AI Support Matrix */
.status-badge {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--fg-green);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag-item {
  font-size: 0.78rem;
  padding: 2px 6px;
  border: 1px solid var(--border-line);
  background-color: var(--bg-main);
}

/* Pricing Cards & Comparison Table */
.pricing-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: 2px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.plan-badge {
  display: inline-block;
  font-size: 0.76rem;
  padding: 2px 6px;
  border: 1px solid var(--fg-green);
  margin-bottom: 10px;
  align-self: flex-start;
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-line);
}

.plan-price small {
  font-size: 0.85rem;
  font-weight: 400;
}

.plan-features {
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.plan-features li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.table-wrap {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--border-line);
  background-color: var(--bg-panel);
  border-radius: 2px;
}

.terminal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.terminal-table th,
.terminal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-line);
  border-right: 1px solid var(--border-line);
}

.terminal-table th {
  background-color: var(--bg-main);
  font-weight: 700;
  text-transform: uppercase;
}

.terminal-table tr:last-child td {
  border-bottom: none;
}

.terminal-table th:last-child,
.terminal-table td:last-child {
  border-right: none;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: 2px;
  padding: 18px 20px;
}

.faq-q {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Reviews Section */
.review-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-line);
}

/* Article / Blog Directory Styles */
.article-card {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-line);
  border-radius: 2px;
  padding: 26px;
  margin-bottom: 24px;
}

.article-meta {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-line);
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-content p {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.article-content h3 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
}

.inline-link {
  text-decoration: underline;
  font-weight: 700;
  padding: 0 3px;
}

/* Footer (Strictly 4 Titles Opening New Pages) */
.site-footer {
  padding: 36px 0;
  background-color: var(--bg-panel);
  border-top: 1px solid var(--border-line);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 12px;
  border: 1px solid var(--border-line);
  border-radius: 2px;
}

/* Responsive Media Queries (@media) */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cmd-nav {
    width: 100%;
  }

  .nav-links {
    width: 100%;
    gap: 6px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .hero-section {
    padding: 36px 0 44px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
  }

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

  .footer-links a {
    width: 100%;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
