/* Thrux Global Styles */

:root {
  --primary: #00ff88;
  --primary-dark: #00cc66;
  --bg-dark: #0a0a0a;
  --bg-light: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --border: #333333;
  --shadow: rgba(0, 255, 136, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Navigation */
nav {
  background: var(--bg-light);
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary);
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
  color: var(--text-secondary);
}

li {
  margin: 0.5rem 0;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: bold;
}

/* Cards and Grids */
.guide-grid,
.tools-grid,
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.guide-card,
.tool-card,
.service {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  display: block;
  color: var(--text-primary);
}

.guide-card:hover,
.tool-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
  text-decoration: none;
}

.guide-card h3,
.tool-card h3,
.service h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.guide-card p,
.tool-card p,
.service p {
  color: var(--text-secondary);
  margin: 0;
}

/* CTA Sections */
.cta-section {
  background: linear-gradient(135deg, #0f2e1f 0%, var(--bg-light) 100%);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
  border: 2px solid var(--primary);
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: #000;
  padding: 1rem 3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Tool Container */
.tool-container {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

/* Forms */
input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
}

button {
  background: var(--primary);
  color: #000;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Footer */
footer {
  background: var(--bg-light);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  color: var(--text-muted);
}

/* Article Styles */
article {
  max-width: 800px;
  margin: 0 auto;
}

article section {
  margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .guide-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 2rem 1rem;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 0.5rem;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success States */
.success {
  color: var(--primary);
}

/* Error States */
.error {
  color: #ff4444;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}