/* File: css/style.css */

:root {
  --neon-color: #00ffc3;
  --neon-blue: #00ffe0;
  --neon-light: #88ffff;
  --bg-dark: #0d0d0d;
  --bg-darker: #1a1a1a;
  --bg-form: #111;
}

body {
  margin: 0;
  font-family: 'Share Tech Mono', monospace;
  background: linear-gradient(to right, var(--bg-dark), var(--bg-darker));
  color: var(--neon-blue);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background: #000;
  border-bottom: 2px solid var(--neon-color);
  padding: 20px 0;
  box-shadow: 0 0 12px rgba(0, 255, 195, 0.3);
}

.header-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  color: var(--neon-color);
  text-shadow: 0 0 5px var(--neon-color);
  margin: 0;
}

.logo-icon {
  font-size: 2rem;
}

.logo-text {
  font-weight: bold;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul li a {
  color: var(--neon-blue);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: var(--neon-color);
  border-color: var(--neon-color);
  text-shadow: 0 0 5px var(--neon-color);
}

/* Main content */
.intro {
  text-align: center;
  padding: 60px 20px;
}

.intro h1 {
  font-size: 3rem;
  color: var(--neon-color);
  text-shadow: 0 0 10px var(--neon-color);
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.2rem;
  color: var(--neon-light);
}

/* Whitepaper Section */
.whitepaper-section {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.whitepaper-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--neon-color), var(--neon-light));
  color: #000;
  text-decoration: none;
  padding: 20px 30px;
  border-radius: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 195, 0.3);
  border: 2px solid var(--neon-color);
  min-width: 200px;
  text-align: center;
}

.whitepaper-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 195, 0.5);
  background: linear-gradient(135deg, var(--neon-light), #00f6ff);
}

.btn-icon {
  font-size: 2rem;
  display: block;
}

.btn-text {
  font-size: 1.2rem;
  font-weight: bold;
  display: block;
}

.btn-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: normal;
  display: block;
}

/* Comments */
.comments-section {
  margin-top: 40px;
}

.comments-section h2 {
  color: var(--neon-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-form {
  background: var(--bg-form);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--neon-color);
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(0, 255, 195, 0.1);
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  background: #000;
  border: 1px solid var(--neon-color);
  color: var(--neon-blue);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--neon-light);
  box-shadow: 0 0 8px rgba(0, 255, 195, 0.4);
  background: #0a0a0a;
}

.comment-form textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* CAPTCHA - Fixed to display on same line with proper alignment */
.captcha-box {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: nowrap;
}

.captcha-image {
  height: 50px;
  width: auto;
  border: 1px solid var(--neon-color);
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.2);
  object-fit: contain;
}

.captcha-box input[type="text"] {
  flex: 1;
  min-width: 200px;
  height: 50px;
  padding: 14px;
  font-size: 14px;
  border: 1px solid var(--neon-color);
  background-color: #000;
  color: var(--neon-blue);
  border-radius: 4px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.captcha-box input[type="text"]:focus {
  outline: none;
  border-color: var(--neon-light);
  box-shadow: 0 0 8px rgba(0, 255, 195, 0.4);
  background: #0a0a0a;
}

.refresh-button {
  background-color: var(--neon-color);
  color: #000;
  font-size: 1.2rem;
  border: none;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.2);
}

.refresh-button:hover {
  background-color: var(--neon-light);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 255, 195, 0.4);
}

.comment-form button[type="submit"] {
  background: var(--neon-color);
  color: #000;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 15px;
  width: 100%;
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.2);
}

.comment-form button[type="submit"]:hover {
  background: var(--neon-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 195, 0.4);
}

/* Comments display */
.comments {
  margin-top: 20px;
}

.comment {
  background: var(--bg-form);
  border-left: 4px solid var(--neon-color);
  padding: 20px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.comment:hover {
  box-shadow: 0 0 10px rgba(0, 255, 195, 0.3);
  transform: translateX(5px);
}

.comment.reply {
  margin-left: 30px;
  border-left-color: var(--neon-light);
  background: rgba(0, 255, 195, 0.05);
}

.comment.reply:hover {
  background: rgba(0, 255, 195, 0.1);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 255, 195, 0.2);
}

.comment-author {
  color: var(--neon-color);
  font-size: 1.1rem;
  font-weight: bold;
}

.comment-time {
  color: var(--neon-light);
  font-size: 0.9rem;
}

.comment-content {
  color: var(--neon-blue);
  line-height: 1.6;
  margin-bottom: 15px;
}

.comment-actions {
  margin-top: 12px;
}

.reply-btn {
  background: transparent;
  color: var(--neon-color);
  border: 1px solid var(--neon-color);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.reply-btn:hover {
  background: var(--neon-color);
  color: #000;
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.3);
}

.replies {
  margin-top: 15px;
  padding-left: 20px;
  border-left: 2px solid rgba(0, 255, 195, 0.3);
}

/* Reply form styling */
.reply-form {
  background: rgba(0, 255, 195, 0.05);
  border: 1px solid var(--neon-color);
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  display: none;
}

.reply-form.active {
  display: block;
}

.reply-form input,
.reply-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: #000;
  border: 1px solid var(--neon-color);
  color: var(--neon-blue);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.reply-form input:focus,
.reply-form textarea:focus {
  outline: none;
  border-color: var(--neon-light);
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.3);
}

.reply-form .captcha-box {
  margin: 15px 0;
}

.reply-form button[type="submit"] {
  background: var(--neon-color);
  color: #000;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.reply-form button[type="submit"]:hover {
  background: var(--neon-light);
  transform: translateY(-1px);
}

.reply-form .cancel-btn {
  background: transparent;
  color: var(--neon-light);
  border: 1px solid var(--neon-light);
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
}

.reply-form .cancel-btn:hover {
  background: var(--neon-light);
  color: #000;
}

/* Contact Page */
.contact-section {
  margin-top: 40px;
}

.contact-info {
  text-align: center;
  margin-bottom: 40px;
}

.contact-info h2 {
  color: var(--neon-color);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-info p {
  color: var(--neon-light);
  font-size: 1.1rem;
}

.contact-form {
  background: var(--bg-form);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--neon-color);
  box-shadow: 0 0 10px rgba(0, 255, 195, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  color: var(--neon-color);
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  background: #000;
  border: 1px solid var(--neon-color);
  color: var(--neon-blue);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--neon-light);
  box-shadow: 0 0 8px rgba(0, 255, 195, 0.4);
  background: #0a0a0a;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.char-count {
  display: block;
  color: var(--neon-light);
  font-size: 0.85rem;
  margin-top: 5px;
  text-align: right;
}

.submit-btn {
  background: var(--neon-color);
  color: #000;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
  box-shadow: 0 0 5px rgba(0, 255, 195, 0.2);
}

.submit-btn:hover {
  background: var(--neon-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 195, 0.4);
}

/* Success and Error Messages */
.success-message,
.error-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 0.95rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.success-message {
  background: rgba(0, 255, 195, 0.1);
  border: 1px solid var(--neon-color);
  color: var(--neon-color);
}

.error-message {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid #ff4444;
  color: #ff6666;
}

/* Comments section success and error messages */
.comments-section .success-message,
.comments-section .error-message {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.comments-section .success-message {
  background: rgba(0, 255, 195, 0.1);
  border: 1px solid var(--neon-color);
  color: var(--neon-color);
}

.comments-section .error-message {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid #ff4444;
  color: #ff6666;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #000;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid rgba(0, 255, 195, 0.3);
  margin-top: 40px;
}

/* Responsive design */
@media (max-width: 768px) {
  .header-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  nav ul {
    gap: 15px;
  }
  
  .intro h1 {
    font-size: 2rem;
  }
  
  .whitepaper-btn {
    padding: 15px 20px;
    min-width: 180px;
  }
  
  .btn-icon {
    font-size: 1.5rem;
  }
  
  .btn-text {
    font-size: 1rem;
  }
  
  .btn-subtitle {
    font-size: 0.8rem;
  }
  
  .captcha-box {
    flex-wrap: wrap;
    align-items: center;
  }
  
  .captcha-box input[type="text"] {
    min-width: 150px;
    height: 45px;
  }
  
  .captcha-image {
    height: 45px;
  }
  
  .refresh-button {
    height: 45px;
    width: 45px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .success-message,
  .error-message {
    margin-left: 20px;
    margin-right: 20px;
  }
}