/*
Theme Name: Addis Tech Workflow
Theme URI: https://addis-tech.com
Author: Codex
Description: Minimal landing-page WordPress theme for Addis Tech workflow automation with built-in contact form.
Version: 1.0.0
License: GPL-2.0+
Text Domain: addis-tech
*/

:root {
  --ink: #0b172a;
  --muted: #526278;
  --soft: #f3f5f9;
  --card: #ffffff;
  --accent: #0b8bdc;
  --accent-2: #8be0d4;
  --shadow: 0 18px 50px rgba(11, 23, 42, 0.08);
  --radius: 18px;
  --space: clamp(2rem, 1.5rem + 2vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  margin: 0 0 0.4em;
  line-height: 1.1;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

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

.page {
  overflow-x: hidden;
}

.shell {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.shell--wide {
  width: 100%;
  max-width: 100vw;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(243, 245, 249, 0.8);
  border-bottom: 1px solid rgba(11, 23, 42, 0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.nav__menu a {
  font-weight: 600;
  font-size: clamp(0.95rem, 0.4vw + 0.88rem, 1rem);
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  color: var(--ink);
}

.nav__menu a:hover {
  background: rgba(11, 23, 42, 0.06);
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.15rem);
  white-space: nowrap;
}

.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__actions .btn {
  font-size: 0.95rem;
  padding: 0.6rem 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.65rem 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  transition: all 0.18s ease-in-out;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(11, 23, 42, 0.1);
}

.nav__toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(11, 23, 42, 0.1);
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  padding: 7px;
  cursor: pointer;
}

.nav__toggle-line {
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11, 23, 42, 0.15);
}

.btn--ghost:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 23, 42, 0.08);
}

.hero {
  position: relative;
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(11, 139, 220, 0.12), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(139, 224, 212, 0.14), transparent 32%),
    linear-gradient(160deg, #f9fbff 0%, #eef3ff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.hero__grid--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  place-items: center;
}

.hero__content {
  max-width: 760px;
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.hero__content .pill {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
}

.slow {
  padding-top: calc(var(--space) * 0.6);
  padding-bottom: calc(var(--space) * 0.8);
}

.slow__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.2fr);
  gap: 1.2rem;
  align-items: center;
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.slow__graphic {
  position: relative;
  min-height: 200px;
  background: var(--card);
  border-radius: calc(var(--radius) * 0.9);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.slow__graphic img {
  width: 70%;
  max-width: 520px;
  height: auto;
  max-height: 220px;
  display: block;
  margin: 0 auto;
}

.slow__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.75;
}

.slow__orb--one {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 30% 30%, #0b8bdc, transparent 65%);
  top: -30px;
  left: -10px;
}

.slow__orb--two {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 60% 60%, #8be0d4, transparent 70%);
  bottom: -40px;
  right: -20px;
}

.slow__content {
  display: grid;
  gap: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 139, 220, 0.12);
  color: #0b6bb6;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.3rem);
  margin-bottom: 0.5em;
}

.hero__lede {
  font-size: 1.1rem;
  max-width: 560px;
}

.hero__card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.list li {
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 600;
}

.list li span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.section {
  padding: var(--space) 0;
}

.section__header {
  display: grid;
  gap: 0.5rem;
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.grid--services {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 23, 42, 0.05);
}

.card h3 {
  margin-bottom: 0.35em;
}

.tagline {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0b6bb6;
  text-transform: uppercase;
}

.how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.step {
  background: linear-gradient(135deg, #0b8bdc, #0f5ea7);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.3rem;
  position: relative;
  box-shadow: 0 18px 40px rgba(10, 70, 140, 0.25);
}

.step h3 {
  color: #fff;
}

.step p {
  color: #e9f4ff;
}

.step small {
  color: #d7e9ff;
}

.step small {
  display: block;
  opacity: 0.85;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.cta {
  text-align: center;
  padding: calc(var(--space) * 0.8);
  background: var(--card);
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 23, 42, 0.05);
}

.cta h2 {
  margin-bottom: 0.6rem;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.contact form {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 23, 42, 0.05);
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(11, 23, 42, 0.1);
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fdfefe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(11, 139, 220, 0.18);
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #e6f7ff;
  color: #074c78;
  border: 1px solid rgba(7, 76, 120, 0.25);
}

.footer {
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .shell {
    width: 92vw;
  }
  .nav__inner {
    padding: 0.9rem 0;
  }
  .nav__toggle {
    display: inline-flex;
    width: 30px;
    height: 30px;
    padding: 5px;
  }
  .nav__menu {
    display: none;
  }
  .nav__menu.is-open {
    display: block;
    width: 100%;
  }
  .nav__menu-list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 0.5rem;
  }
  .nav__menu a {
    display: block;
    width: 100%;
    font-size: 0.95rem;
    padding: 0.65rem 0.75rem;
  }
  .nav__actions,
  .nav__actions--hero {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .nav__actions .btn,
  .nav__actions--hero .btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__grid--center {
    justify-items: center;
    text-align: center;
  }
  .slow__grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .hero {
    min-height: 100vh;
  }
}
