/* ==========================================================================
   1. CORE ARCHITECTURE & SYSTEM VARIABLES
   ========================================================================== */

:root {
  --bg: #04070d; 
  --bg2: #071027; 
  --bg3: #0c1630;
  --accent: #ff3c3c; 
  --accent2: #3f7cff; 
  --accent3: #ff8b7d;
  --text: #e9f2fb; 
  --muted: #8ca8c4;
  --border: rgba(255, 60, 60, 0.14); 
  --border2: rgba(63, 124, 255, 0.28);
  --card-bg: rgba(10, 16, 32, 0.82);
  --glow: 0 0 22px rgba(255, 60, 60, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Scrollbar System */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* Global Typography Elements */
h1, h2, h3 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
a { color: var(--accent); text-decoration: none; }
.accent { color: var(--accent); }

/* Global Layout Anchors */
main { position: relative; z-index: 1; padding-top: 70px; }
section.main-section { padding: 100px 5%; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); margin: 1.5rem auto 0; }

.section-tag, .about-tag, .blog-pre-tag, .portfolio-tag, .blog-post-category, .blog-card-category {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   2. REUSABLE UI ENGINE COMPONENTS (BUTTONS & CARDS)
   ========================================================================== */

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--border2); }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
  color: var(--bg);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-danger {
  background: rgba(255, 60, 60, 0.1);
  color: var(--accent2);
  border: 1px solid rgba(255, 60, 60, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-danger:hover { background: rgba(255, 60, 60, 0.2); }

/* ==========================================================================
   3. NAVIGATION LAYER
   ========================================================================== */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-image {
  width: 42px; height: 42px; object-fit: contain; padding: 8px;
  border: 2px solid var(--accent); border-radius: 12px;
  background: rgba(0, 212, 255, 0.05); box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}
.logo-text { font-family: 'Orbitron', monospace; font-size: 16px; font-weight: 700; color: var(--text); }
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 500; font-family: 'Space Mono', monospace; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  border: 1px solid var(--accent) !important; color: var(--accent) !important;
  padding: 8px 20px; border-radius: 6px; transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--accent) !important; color: var(--bg) !important; }

.menu-toggle { display: none; flex-direction: column; gap: 6px; background: transparent; border: none; cursor: pointer; padding: 4px; z-index: 1010; }
.menu-toggle span { display: block; width: 26px; height: 2px; background-color: var(--text); transition: all 0.3s ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--accent); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--accent); }

/* ==========================================================================
   4. HERO & GLOBAL SYSTEM TICKER
   ========================================================================== */

.hero { min-height: 100vh; padding: 0px 5% 0; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 15px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 212, 255, 0.08); border: 1px solid rgba(0, 212, 255, 0.3); padding: 6px 14px; border-radius: 20px; font-family: 'Space Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 1px; margin-bottom: 1.5rem; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #39ff14; animation: pulse 2s infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

.hero-main-title { font-family: 'Orbitron', monospace; font-weight: 900; letter-spacing: -0.5px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: 1.5rem; }
.hero-desc { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 2.5rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-explore-btn { display: inline-block; padding: 14px 32px; border-radius: 8px; border: 1px solid var(--border2); color: var(--text); font-size: 14px; transition: all 0.3s; }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat-num { font-family: 'Orbitron', monospace; font-size: 1.8rem; font-weight: 700; color: var(--accent); display: block; }
.stat-label { font-size: 11px; color: var(--muted); font-family: 'Space Mono', monospace; letter-spacing: 1px; text-transform: uppercase; }

/* Shield Visual Assets */
.shield-container { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.shield-ring { position: absolute; border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 50%; animation: rotate 20s linear infinite; }
.ring1 { inset: 0; }
.ring2 { inset: 20px; animation-duration: 15s; animation-direction: reverse; border-style: dashed; }
.ring3 { inset: 50px; animation-duration: 30s; }

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.shield-center {
  position: absolute; inset: 80px; background: linear-gradient(135deg, #0d1c2e, #152536);
  border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; box-shadow: 0 0 40px rgba(0, 212, 255, 0.15); z-index: 2;
}
.shield-b2s { font-family: 'Orbitron', monospace; font-size: 24px; font-weight: 900; color: var(--accent); text-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
.shield-sub { font-family: 'Space Mono', monospace; font-size: 8px; color: var(--muted); letter-spacing: 3px; }

/* Ribbon Ticker */
.ticker-wrap { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 12px 0; }
.ticker-track { display: flex; gap: 3rem; animation: ticker 20s linear infinite; white-space: nowrap; }
.ticker-item { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 2px; display: flex; align-items: center; gap: 10px; }
.ticker-item::after { content: '//'; color: var(--accent); }

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   5. WORK SERVICES & WORKFLOWS
   ========================================================================== */

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.service-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; transition: all 0.4s; cursor: pointer; position: relative; overflow: hidden; }
.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.3s; }
.service-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: 0 0 40px rgba(0, 212, 255, 0.15); }
.service-card:hover::before { opacity: 1; }

.service-icon { width: 56px; height: 56px; background: rgba(0, 212, 255, 0.08); border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 1.5rem; transition: all 0.3s; }
.service-card:hover .service-icon { background: rgba(0, 212, 255, 0.15); border-color: var(--accent); }
.service-card h3 { font-family: 'Orbitron', monospace; font-size: 14px; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }

.service-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-features li { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.service-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; font-family: 'Space Mono', monospace; margin-top: 1.5rem; transition: gap 0.2s; }
.service-link:hover { gap: 10px; }
.empty-services-msg { color: var(--muted); text-align: center; padding: 3rem 0; }

/* Engineering Pipelines Deployment Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; max-width: 1100px; margin: 0 auto; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent); opacity: 0.3; }
.step-item { text-align: center; padding: 2rem 1.5rem; }
.step-num {
  width: 72px; height: 72px; border: 1.5px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: 'Orbitron', monospace; font-size: 20px; font-weight: 900; color: var(--accent);
  margin: 0 auto 1.5rem; background: var(--bg); box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); position: relative; z-index: 1;
}
.step-item h3 { font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 13px; color: var(--muted); }

/* Interactive Terminal Shell */
.terminal { background: #050a0f; border: 1px solid var(--border2); border-radius: 12px; overflow: hidden; box-shadow: 0 0 40px rgba(0, 212, 255, 0.1); }
.terminal-bar { background: #0a1420; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot:nth-child(1) { background: #ff5f56; }
.t-dot:nth-child(2) { background: #ffbd2e; }
.t-dot:nth-child(3) { background: #27c93f; }
.terminal-title { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--muted); margin-left: 8px; }
.terminal-body { padding: 20px; font-family: 'Space Mono', monospace; font-size: 12px; line-height: 2; }
.t-prompt { color: #39ff14; }
.t-cmd { color: var(--text); }
.t-out { color: var(--muted); padding-left: 16px; }
.t-ok { color: #39ff14; }
.t-warn { color: #ffbd2e; }
.t-err { color: #ff3c3c; }
.t-blue { color: var(--accent); }
.cursor { display: inline-block; width: 8px; height: 14px; background: var(--accent); animation: blink 1s infinite; vertical-align: middle; }

@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ==========================================================================
   6. MARKETPLACE FUNNELS & CONVERSION CONTEXT
   ========================================================================== */

.marketplace-funnel { padding: 5rem 5%; background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); border-top: 1px solid var(--border); position: relative; z-index: 1; }
.funnel-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.funnel-subtitle { color: var(--muted); font-size: 15px; max-width: 600px; margin: 0 auto 3rem; }
.marketplace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }

.market-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; text-align: left; display: flex; flex-direction: column; transition: all 0.3s ease; position: relative; }
.market-card:hover { transform: translateY(-4px); }
.fiverr-card:hover { border-color: rgba(29, 191, 115, 0.4); box-shadow: 0 10px 30px rgba(29, 191, 115, 0.05); }
.upwork-card:hover { border-color: rgba(20, 168, 0, 0.4); box-shadow: 0 10px 30px rgba(20, 168, 0, 0.05); }

.market-badge { display: inline-block; align-self: flex-start; font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 1.5rem; text-transform: uppercase; }
.badge-fiverr { background: rgba(29, 191, 115, 0.1); color: #1dbf73; }
.badge-upwork { background: rgba(20, 168, 0, 0.1); color: #14a800; }
.market-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; margin-bottom: 1rem; }
.market-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 1.5rem; }
.market-features { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.market-features li { font-size: 13px; color: var(--text); font-family: 'Space Mono', monospace; }

.market-btn {
  display: block; width: 100%; text-align: center; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 14px; font-family: 'Space Mono', monospace;
  margin-top: auto; border: none; cursor: pointer; background: var(--accent); color: var(--bg); box-shadow: var(--glow); transition: all 0.3s ease;
}
.market-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255, 60, 60, 0.4); color: var(--bg); }

/* Conversion Segment & Input Forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.contact-sub-title { font-family: 'Orbitron', monospace; font-size: 18px; margin-bottom: 1rem; }
.contact-lead-desc { color: var(--muted); font-size: 14px; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(0, 212, 255, 0.04); border: 1px solid var(--border); border-radius: 10px; }
.contact-item-icon { font-size: 20px; width: 36px; text-align: center; }
.contact-item-text { font-size: 14px; }
.contact-item-text span { color: var(--muted); font-size: 12px; display: block; }

.contact-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; }
.form-title { font-family: 'Orbitron', monospace; font-size: 15px; font-weight: 700; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-family: 'Space Mono', monospace; font-size: 11px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: rgba(0, 212, 255, 0.04); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 14px; transition: border-color 0.3s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg2); }

.form-submit { width: 100%; padding: 14px; background: var(--accent); border: none; border-radius: 8px; color: var(--bg); font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.3s; box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0, 212, 255, 0.4); }

.form-success-container { text-align: center; padding: 2rem; }
.form-success-icon { font-size: 48px; margin-bottom: 1rem; }
.form-success-alert { font-family: 'Space Mono', monospace; color: #39ff14; }
.form-success-subtext { color: var(--muted); margin-top: 8px; font-size: 14px; }

/* ==========================================================================
   7. EDITORIAL CONTENT (ABOUT, BLOG, PORTFOLIO & FAQ)
   ========================================================================== */

/* About Section Core Layout */
.about-section, .privacy-section { padding: 80px 0 100px; position: relative; z-index: 1; }
.about-container, .privacy-container { max-width: 900px; margin: 0 auto; padding: 0 5%; }
.about-card { margin-top: 2rem; padding: 2.5rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 16px; }

/* Fixed Privacy Card: Swapped transparent background for solid opaque background to block grid overlay */
.privacy-card { 
  margin-top: 2rem; 
  padding: 2.5rem; 
  background: #050a0f; 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  box-shadow: var(--glow);
}

.privacy-title { margin-top: 0.5rem; }
.privacy-lead { color: var(--muted); line-height: 1.9; margin-top: 1rem; font-size: 1rem; }

.about-card h2, .privacy-card h2 { font-family: 'Orbitron', monospace; font-size: 1.35rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.about-card h2:first-of-type, .privacy-card h2:first-of-type { margin-top: 0; }
.about-card p, .privacy-card p, .about-lead-text { color: var(--muted); line-height: 1.85; font-size: 14px; }
.about-list { color: var(--muted); line-height: 1.9; padding-left: 20px; }

.about-bg { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-line-offset { margin: 1.5rem 0 2rem; }
.about-paragraph { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 1.5rem; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: rgba(0, 212, 255, 0.04); border: 1px solid var(--border); border-radius: 10px; transition: all 0.3s; }
.feature-item:hover { border-color: var(--border2); }
.feature-num { font-family: 'Orbitron', monospace; font-size: 11px; color: var(--accent); background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.feature-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.feature-info p { font-size: 13px; color: var(--muted); margin: 0; }

/* Blog Modules */
.blog-post-wrapper { padding: 60px 5% 100px; max-width: 800px; margin: 0 auto; }
.blog-back-nav { margin-bottom: 2rem; }
.blog-back-nav a { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--muted); }
.blog-back-nav a:hover { color: var(--accent); }
.blog-post-title { margin: 0.75rem 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.blog-post-meta { display: flex; gap: 1.5rem; font-size: 12px; color: var(--muted); font-family: 'Space Mono', monospace; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.blog-post-content { font-size: 15px; line-height: 1.9; color: var(--text); }

.blog-related-section { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.blog-related-section h3 { font-family: 'Orbitron', monospace; font-size: 14px; margin-bottom: 1.5rem; color: var(--text); }
.blog-related-list { display: flex; flex-direction: column; gap: 1rem; }
.blog-related-card { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: rgba(10, 20, 32, 0.8); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; transition: all 0.2s ease; }
.blog-related-card:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateX(4px); }
.blog-related-card .related-title { font-size: 14px; color: var(--text); }
.blog-related-card .related-arrow { font-size: 12px; color: var(--accent); }

.blog-dashboard-container { padding: 60px 5% 100px; max-width: 1100px; margin: 0 auto; }
.blog-header-section { margin-bottom: 3rem; }
.blog-main-heading { margin-top: 0.5rem; }
.blog-sub-heading { color: var(--muted); margin-top: 0.5rem; }

.blog-grid, .blog-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.blog-card, .blog-feed-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 1.8rem; transition: all 0.3s ease; text-decoration: none; display: block; }
.blog-card:hover, .blog-feed-card:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateY(-4px); }
.blog-card h3, .blog-card-title { font-family: 'Orbitron', monospace; font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.blog-card p, .blog-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; }
.blog-meta, .blog-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; font-size: 12px; color: var(--muted); font-family: 'Space Mono', monospace; }

.blog-pagination-wrapper { display: flex; gap: 0.75rem; justify-content: center; margin-top: 3rem; }
.blog-pag-btn { padding: 10px 20px; border-radius: 8px; border: 1px solid var(--border2); color: var(--text); font-size: 13px; }
.blog-pag-indicator { padding: 10px 20px; font-family: 'Space Mono', monospace; font-size: 13px; color: var(--muted); }
.blog-empty-state, .portfolio-empty-state { text-align: center; padding: 4rem; color: var(--muted); }
.blog-empty-icon, .empty-icon { font-size: 48px; margin-bottom: 1rem; }

/* Portfolio Context Display Architecture */
.portfolio-container { padding: 60px 5% 100px; max-width: 1200px; margin: 0 auto; }
.portfolio-header { text-align: center; margin-bottom: 3rem; }
.portfolio-lead { color: var(--muted); margin-top: 0.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.filter-wrapper { display: flex; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-pill { padding: 8px 20px; border-radius: 20px; font-family: 'Space Mono', monospace; font-size: 12px; border: 1px solid var(--border); color: var(--muted); transition: all 0.2s ease-in-out; }
.filter-pill:hover, .filter-pill.active-pill { border-color: var(--accent); color: var(--accent); }
.filter-pill.active-pill { background: rgba(0, 212, 255, 0.08); }

.portfolio-grid, .portfolio-showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.port-card, .portfolio-display-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.4s ease; }
.port-card:hover, .portfolio-display-card:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateY(-6px); box-shadow: 0 0 40px rgba(0, 212, 255, 0.15); }

.port-img, .portfolio-card-visual { height: 160px; background: linear-gradient(135deg, #0a1420, #152536); display: flex; align-items: center; justify-content: center; font-size: 52px; position: relative; }
.port-tag-pill, .category-pill-overlay { position: absolute; top: 12px; right: 12px; font-family: 'Space Mono', monospace; font-size: 10px; background: rgba(0, 212, 255, 0.15); border: 1px solid rgba(0, 212, 255, 0.4); color: var(--accent); padding: 4px 10px; border-radius: 20px; }
.featured-pill-overlay { position: absolute; top: 12px; left: 12px; font-family: 'Space Mono', monospace; font-size: 10px; background: rgba(57, 255, 20, 0.1); border: 1px solid rgba(57, 255, 20, 0.4); color: #39ff14; padding: 4px 10px; border-radius: 20px; }

.port-body, .portfolio-card-body { padding: 1.5rem; }
.port-body h3, .portfolio-card-body h3 { font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.port-body p, .portfolio-card-body p { font-size: 13px; color: var(--muted); line-height: 1.7; }

.port-tags-container, .portfolio-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.port-tag-item, .tag-item-pill { font-size: 11px; background: rgba(0, 212, 255, 0.08); border: 1px solid var(--border); padding: 2px 8px; border-radius: 10px; color: var(--muted); }
.portfolio-all-btn, .blog-all-btn { display: inline-block; padding: 13px 32px; border-radius: 8px; border: 1px solid var(--border2); color: var(--text); font-size: 14px; }
.view-all-wrapper { text-align: center; margin-top: 2.5rem; }
.empty-back-link { color: var(--accent); margin-top: 0.5rem; display: inline-block; }

.portfolio-footer-cta { text-align: center; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.portfolio-footer-cta p { color: var(--muted); margin-bottom: 1.5rem; }
.portfolio-cta-button { display: inline-block; background: var(--accent); color: var(--bg); padding: 13px 32px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; transition: opacity 0.2s ease-in-out; }
.portfolio-cta-button:hover { opacity: 0.9; }

/* FAQ Modules */
.faq-hero { padding: 6rem 5% 3rem; text-align: center; background: radial-gradient(circle at top, rgba(255, 60, 60, 0.05) 0%, transparent 70%); }
.faq-hero h1 { margin-bottom: 1rem; letter-spacing: -1px; }
.faq-hero p { color: var(--muted); font-size: 16px; max-width: 600px; margin: 0 auto; }
.faq-container { max-width: 900px; margin: 0 auto 6rem; padding: 0 5%; }
.faq-group { margin-bottom: 3rem; }
.faq-group-title { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px dashed rgba(255, 60, 60, 0.2); }
.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover, .faq-item.active { border-color: var(--border2); }
.faq-item.active { box-shadow: var(--glow); }

.faq-trigger { width: 100%; background: transparent; border: none; padding: 1.5rem; text-align: left; color: var(--text); font-family: 'Orbitron', sans-serif; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-icon { font-family: 'Space Mono', monospace; color: var(--accent); font-size: 1.2rem; transition: transform 0.3s ease; user-select: none; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-content-inner { padding: 0 1.5rem 1.5rem; color: var(--muted); font-size: 14px; line-height: 1.7; border-top: 1px solid rgba(255, 60, 60, 0.05); }
.faq-content-inner p { margin-bottom: 1rem; }
.faq-content-inner p:last-child { margin-bottom: 0; }

.faq-cta-box { background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%); border: 1px solid var(--border); border-radius: 16px; padding: 3rem; text-align: center; margin-top: 4rem; }
.faq-cta-box h3 { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; margin-bottom: 1rem; }
.faq-cta-box p { color: var(--muted); font-size: 14px; max-width: 500px; margin: 0 auto 2rem; }

/* ==========================================================================
   8. CLIENT METRICS & STATUS NOTIFICATION FLASH MESSAGES
   ========================================================================== */

.flash-messages { position: fixed; top: 80px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.flash { padding: 12px 20px; border-radius: 8px; font-family: 'Space Mono', monospace; font-size: 13px; animation: slideIn 0.3s ease; transition: opacity 0.4s ease; }
.flash.success { background: #0a1e0a; border: 1px solid var(--accent3); color: var(--accent3); }
.flash.error { background: #1e0a0a; border: 1px solid var(--accent2); color: var(--accent2); }
.flash.info { background: #0a141e; border: 1px solid var(--accent); color: var(--accent); }

@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   9. SITE CLOAK FOOTER LAYER
   ========================================================================== */

footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 5%; text-align: center; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1400px; margin: 0 auto; padding: 3rem 0 2rem; }
.footer-section { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.footer-section h3 { font-family: 'Orbitron', monospace; font-size: 0.9rem; color: var(--text); margin-bottom: 1rem; letter-spacing: 1px; text-transform: uppercase; }
.footer-section p, .footer-section a, .footer-section span, .footer-copy { color: var(--muted); font-size: 13px; font-family: 'Space Mono', monospace; line-height: 1.8; }
.footer-section a { transition: color 0.2s; display: block; }
.footer-section a:hover { color: var(--accent); }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 0.5rem; }
.footer-brand img { width: 45px; height: 45px; object-fit: contain; padding: 8px; border: 2px solid var(--accent); border-radius: 12px; background: rgba(0, 212, 255, 0.05); box-shadow: 0 0 15px rgba(0, 212, 255, 0.15); }
.footer-brand-name { font-family: 'Orbitron', monospace; font-size: 18px; font-weight: 700; color: var(--text); }
.footer-brand-name span { color: var(--accent); }
.footer-desc { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 0.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); margin-top: 2rem; }

.social-links { display: flex; gap: 1.5rem; align-items: center; }
.social-links a { color: var(--muted); font-size: 18px; transition: color 0.2s; display: inline-flex; }
.social-links a:hover { color: var(--accent); }

/* ==========================================================================
   10. MEDIA QUERIES & RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  .menu-toggle { display: flex; }
  .marketplace-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-section, .privacy-section { padding: 40px 0 60px; }
  .about-card, .privacy-card { padding: 1.5rem; }

  .nav-links {
    display: flex; flex-direction: column; justify-content: center;
    position: fixed; top: 0px; left: 0; right: 0; bottom: 0;
    height: calc(100vh - 70px); background: rgba(4, 7, 13, 0.98); backdrop-filter: blur(25px);
    border-top: 1px solid var(--border); gap: 2.5rem; padding: 2rem;
    transform: translateY(-105%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 999;
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links a { font-size: 15px; width: 100%; text-align: center; padding: 10px 0; }
  .nav-cta { width: 80%; text-align: center; margin: 0 auto; }
}
/**
 * Bug2Secure Error Template Styling Parameters
 */
.error-container {
  max-width: 600px;
  margin: 8rem auto;
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(255, 60, 60, 0.02);
  border: 1px solid rgba(255, 60, 60, 0.2);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(255, 60, 60, 0.05);
}

.error-code {
  font-family: 'Space Mono', monospace;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: -2px;
}

.error-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.error-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

#countdown-timer {
  font-weight: bold;
  margin-left: 0.25rem;
  opacity: 0.8;
}