/*
Theme Name: Eight Bit Technology
Theme URI: https://curious8bit.com
Author: 8- Bit Technology
Author URI: https://curious8bit.com
Description: A modern software development agency theme with custom home, login, and signup pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eight-bit-technology
*/

:root {
  --bg: #f3efe6;
  --bg-alt: #e8f3e9;
  --ink: #1f2a1f;
  --ink-soft: #445a46;
  --brand: #1d8f6a;
  --brand-dark: #13654b;
  --accent: #ff7a00;
  --card: #ffffff;
  --line: rgba(31, 42, 31, 0.15);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 31, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(29, 143, 106, 0.24), transparent 42%),
    radial-gradient(circle at 85% 0%, rgba(255, 122, 0, 0.2), transparent 36%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  font-family: "Chakra Petch", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand .custom-logo {
  max-height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  padding: 8px 10px;
  border-radius: 999px;
}

.nav-menu a:hover {
  background: rgba(29, 143, 106, 0.14);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 143, 106, 0.28);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.5);
}

.hero {
  padding: 88px 0 66px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero h1 {
  font-family: "Chakra Petch", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero p {
  color: var(--ink-soft);
  max-width: 62ch;
}

.hero-card {
  background: linear-gradient(140deg, #ffffff 0%, #f5f8f1 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.section {
  padding: 38px 0;
}

.section h2 {
  font-family: "Chakra Petch", "Segoe UI", sans-serif;
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card h3 {
  margin-top: 0;
}

.alt-bg {
  background: linear-gradient(180deg, rgba(232, 243, 233, 0.72), rgba(232, 243, 233, 0.2));
}

.page-title {
  font-family: "Chakra Petch", "Segoe UI", sans-serif;
  margin-bottom: 6px;
}

.page-intro {
  color: var(--ink-soft);
  max-width: 78ch;
  margin-bottom: 22px;
}

.service-grid ul,
.pricing-card ul,
.contact-grid ul {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card .plan {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.pricing-card.featured {
  border: 2px solid var(--brand);
  transform: translateY(-4px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: start;
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.auth-wrap {
  max-width: 560px;
  margin: 72px auto;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-wrap h1 {
  font-family: "Chakra Petch", "Segoe UI", sans-serif;
  margin-top: 0;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

label {
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.notice {
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

.notice-error {
  background: #ffe9e9;
  border: 1px solid #f0b7b7;
}

.notice-success {
  background: #e8faef;
  border: 1px solid #b8ebc7;
}

.site-footer {
  margin-top: 48px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }
}
