@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bg-color: #f3ede6;
  --line-color: #7f8053;
  --text-main: #7f411f;
  --text-muted: #000000;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: Archivo, sans;
  line-height: 1.6;
  max-width: 40em;
  margin: 0 auto;
  padding: 2rem;
}

/* Lines and Borders */
hr {
  border: none;
  border-bottom: 2px solid var(--line-color);
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

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

th {
  border-bottom: 3px solid var(--line-color);
}

blockquote {
  border-left: 4px solid var(--line-color);
  margin: 1.5rem 0;
  padding-left: 1rem;
  color: var(--text-muted);
}

/* Typography Accents */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

h1, h2 {
  border-bottom: 2px solid var(--line-color);
  padding-bottom: 0.3rem;
}

a {
  color: var(--line-color);
  text-decoration: none;
  border-bottom: 1px dashed var(--line-color);
  transition: all 0.2s ease-in-out;
}

a:hover {
  background-color: var(--line-color);
  color: var(--bg-color);
}

/* Code and Preformatted text */
pre {
  background-color: rgba(127, 128, 83, 0.1); /* Very transparent olive for code blocks */
  border: 1px solid var(--line-color);
  padding: 1rem;
  overflow-x: auto;
}

code {
  background-color: rgba(127, 128, 83, 0.15);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

pre code {
  background-color: transparent;
  padding: 0;
}

.li-list {
  list-style: none;
  align-items: center;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: left center;
  padding-inline-start: 2em;
  line-height: 1.5;
  content: "➤ ";
  font-size: 2em;
}

.li-list::before {
  width: 1.2em;
  height: 1.2em;
  background-size: 1.2em;
  content: "";
  display: inline-block;
  margin-inline-start: -1.5em;
  margin-inline-end: .5em;
}

.li-brain::before {
  background-image: url("assets/brain.png");
}
.li-eye::before {
  background-image: url("assets/eye.png");
}
.li-dunno::before {
  background-image: url("assets/dunno.png");
}
.li-gears::before {
  background-image: url("assets/gears.png");
}
.li-money::before {
  background-image: url("assets/money.png");
}
.li-old::before {
  background-image: url("assets/old.png");
}
.li-sad::before {
  background-image: url("assets/sad.png");
}

.benefits-section {
  padding: 4rem 2rem;
}

.benefits-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* Left Column: Image */
.benefits-image {
  flex: 1;
}

.benefits-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Right Column: List Content */
.benefits-content {
  flex: 1;
}

.benefits-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefits-content p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Custom Bullet List */
.benefits-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits-list li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.5;
  font-size: 1.05rem;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.div-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  padding: 40px;
  margin: 0 auto;
}

/* Individual Cell Styling */
.table-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.centered-cell {
  justify-content: flex-start;
}

/* Titles above each section */
.cell-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Wrapper for the image and text side-by-side */
.cell-content {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  justify-content: center;
}

/* Image styling */
.app-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* Text next to the images */
.cell-text {
  font-size: 20px;
  line-height: 1.3;
  text-align: left;
}

/* Text without an image (Bottom Right) */
.standalone-text {
  text-align: center;
  margin-top: 10px;
}

.button-container {
  display: flex;
  justify-content: center; /* Centers items horizontally */
  align-items: center;     /* Centers items vertically */
  gap: 20px;               /* Space between the buttons */
  margin: 30px 0;          /* Adds breathing room above and below */
}

/* Base button styling */
.btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;      /* Rounded corners */
  cursor: pointer;
  font-family: system-ui, -apple-system, sans-serif;
  transition: all 0.2s ease; /* Smooth hover effect */
}

/* Primary button (e.g., solid blue) */
.btn-primary {
  background-color: #3182ce;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #2b6cb0;
  transform: translateY(-2px); /* Slight lift on hover */
}

/* Secondary button (e.g., light gray) */
.btn-secondary {
  background-color: #c36666;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #782828;
  transform: translateY(-2px);
}
