/*
Theme Name: Tachyon Sovereign Solutions
Author: Nicolas Bianconi
Description: Tema soberano para serviços de código aberto
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --bg: #050505;
  --text: #e0e0e0;
  --red: #ff004c;
  --glow: 0 0 5px rgba(255,0,76,0.5);
  --mono: 'Rajdhani', monospace;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 0 1px rgba(255,0,76,0.2);
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-shadow: var(--glow);
}

.hidden {
  display: none;
}

/* Boot overlay */
#boot-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#terminal {
  width: 80%;
  max-width: 700px;
  font-family: var(--mono);
  white-space: pre-wrap;
  color: var(--red);
  font-size: 1rem;
  line-height: 1.6;
}

/* Main UI */
main#main-ui {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--red);
  background: rgba(0,0,0,0.8);
  flex-wrap: wrap;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  color: var(--text);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

nav a:hover {
  border-bottom-color: var(--red);
}

.status {
  color: var(--red);
  letter-spacing: 2px;
  font-size: 0.8rem;
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

h1, h2, h3 {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.panel {
  border: 1px solid var(--red);
  padding: 1rem;
  background: #0a0a0a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.panel span {
  color: var(--red);
  font-weight: 700;
}

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

.banner-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--red);
  box-shadow: 0 0 20px rgba(255,0,76,0.3);
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
}

.service-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-list li::before {
  content: "▸";
  color: var(--red);
  position: absolute;
  left: 0;
}

.service-example {
  border: 1px solid var(--red);
  background: #0a0a0a;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-price {
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  margin: 1.5rem 0;
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--red);
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* Buttons and links in service sections */
a.button,
a[style*="border:1px solid var(--red)"] {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 0.8rem 2rem;
  font-family: var(--mono);
  letter-spacing: 2px;
  text-decoration: none;
  text-shadow: 0 0 5px rgba(255,0,76,0.5);
  transition: background 0.3s, color 0.3s;
}

a.button:hover,
a[style*="border:1px solid var(--red)"]:hover {
  background: var(--red);
  color: #000;
}

/* ================================
   Página de conteúdo (carrinho/checkout)
   ================================ */
.page-content {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: #0a0a0a;
    border: 1px solid var(--red);
    box-shadow: 0 0 20px rgba(255,0,76,0.2);
}

.page-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.page-body {
    color: var(--text);
}

/* WooCommerce – reset visual para combinar com o tema */
.woocommerce .woocommerce-cart-form {
    background: transparent;
}

.woocommerce table.shop_table {
    background: transparent;
    border: none;
    box-shadow: none;
}

.woocommerce table.shop_table thead th {
    background: #1a1a1a;
    border: 1px solid var(--red);
    text-align: left;
}

.woocommerce table.shop_table tbody td {
    border: 1px solid var(--red);
    padding: 1rem;
    vertical-align: middle;
}

.woocommerce table.shop_table tbody td.product-remove {
    border: none;
    background: transparent;
}

.woocommerce .product-thumbnail img {
    width: 60px;
    height: auto;
}

.woocommerce .product-name a {
    color: var(--red);
    font-weight: bold;
}

.woocommerce .product-price,
.woocommerce .product-subtotal {
    color: var(--text);
}

.woocommerce .quantity input.qty {
    background: #111;
    border: 1px solid var(--red);
    color: var(--text);
    padding: 0.5rem;
    width: 70px;
}

.woocommerce .actions {
    border: none;
    background: transparent;
}

.woocommerce .coupon {
    display: flex;
    gap: 0.5rem;
}

.woocommerce .coupon input#coupon_code {
    background: #111;
    border: 1px solid var(--red);
    color: var(--text);
    padding: 0.6rem;
    flex: 1;
}

.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
    padding: 0.7rem 1.5rem;
    font-family: var(--mono);
    letter-spacing: 1px;
    transition: all 0.3s;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
    background: var(--red);
    color: #000;
    text-shadow: none;
}

.woocommerce .cart-collaterals {
    margin-top: 2rem;
}

.woocommerce .cart_totals {
    background: #0a0a0a;
    border: 1px solid var(--red);
    padding: 1.5rem;
}

.woocommerce .cart_totals h2 {
    color: var(--red);
    font-size: 1.5rem;
}

.woocommerce .cart_totals table {
    background: transparent;
    border: none;
}

.woocommerce .cart_totals th,
.woocommerce .cart_totals td {
    border: none;
    color: var(--text);
    padding: 0.5rem 0;
}

.woocommerce .cart_totals .order-total th {
    color: var(--red);
    font-size: 1.2rem;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
    background: var(--red);
    color: #000;
    font-weight: bold;
    padding: 1rem 2rem;
    display: inline-block;
    width: auto;
    border: none;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background: #cc0033;
}

/* Checkout – formulários */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid;
    gap: 1rem;
}

.woocommerce form .form-row {
    margin-bottom: 1rem;
}

.woocommerce form .form-row label {
    color: var(--red);
}

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    background: #111;
    border: 1px solid var(--red);
    color: var(--text);
    padding: 0.8rem;
    width: 100%;
}

.woocommerce .woocommerce-checkout-payment {
    background: #0a0a0a;
    border: 1px solid var(--red);
    padding: 1.5rem;
}

.woocommerce .woocommerce-checkout-payment ul.payment_methods {
    border: none;
    padding: 0;
}

.woocommerce .woocommerce-checkout-payment ul.payment_methods li {
    list-style: none;
    margin-bottom: 1rem;
}

.woocommerce .woocommerce-checkout-payment div.payment_box {
    background: #111;
    border: 1px solid var(--red);
    color: var(--text);
    padding: 1rem;
}
