body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: #fdfcf7;
  color: #222;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 2px dashed #444;
}

.product {
  font-family: 'Architects Daughter', cursive;
}

.secondary_product {
  font-size: x-small;
  /* font-family: 'Architects Daughter', cursive; */
}

.logo {
  height: 100px;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
  color: #333;
}

.hero {
  text-align: center;
  padding: 3rem 2rem;
  border-bottom: 2px dashed #aaa;
}

.hero-img {
  max-width: 300px;
  margin-bottom: 1rem;
}

.cta {
  background: none;
  border: 2px dashed #444;
  padding: 0.8rem 2rem;
  cursor: pointer;
  font-size: 1rem;
}

.features {
  padding: 3rem 2rem;
}

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

.security {
  padding: 3rem 2rem;
}

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

.re-use {
  padding: 3rem 2rem;
}

.re-use .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}


/* Or, for a fixed size */
.meshdrive-image-fixed img {
  width: 100%; /* Makes the image responsive to its parent container */
  max-width: 300px; /* Sets a maximum width to prevent it from getting too large */
  height: auto; /* Maintains aspect ratio */
  display: block; /* Removes extra space below the image */
  margin: 0 auto; /* Centers the image if its container is wider */
}

.card {
  border: 2px dashed #666;
  padding: 1.5rem;
  border-radius: 8px;
  background: #fff;
}

.pricing {
  padding: 3rem 2rem;
  background: #f4f4f4;
}

.plans {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing .card {
  flex: 1 1 220px;
  max-width: 280px;
}

.pricing .highlight {
  background: #fff8e7;
  border: 2px solid #333;
}

.price {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.contact {
  padding: 3rem 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: auto;
  padding: 40px;
}

form input, form textarea, form button {
  border: 2px dashed #444;
  padding: 0.8rem;
  font-size: 1rem;
  width: 100%;
  background: #fff;
}

footer {
  text-align: center;
  padding: 1rem;
  border-top: 2px dashed #444;
  font-size: 0.9rem;
}

/* Overlay modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal {
  background: #fff;
  border: 2px dashed #333;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f4f4;
  border-bottom: 2px dashed #444;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 0.8rem;
  cursor: pointer;
  font-weight: bold;
}
.tab.active {
  background: #2563EB;
  color: white;
}

.modal-close {
  margin-right: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
}

.modal-body {
  padding: 1.5rem;
}

/* Chat Box for login nd */
.chat-form {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
}
.chat-form.active {
  display: flex;
}

.chat-form input {
  border: 2px dashed #444;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
}

.chat-form button {
  background: #2563EB;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}
.chat-form button:hover {
  /* background: #1E40AF; */
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.chat-box {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 400px;
  overflow-y: auto;
}

.chat-bubble {
  padding: 0.8rem 1rem;
  border: 2px dashed #444;
  border-radius: 8px;
  max-width: 80%;
  font-size: 0.95rem;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: #f4f4f4;
}

.chat-bubble.user {
  align-self: flex-end;
  background: #2563EB;
  color: white;
  border: none;
}

.chat-input {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.chat-input input {
  flex: 1;
  /* padding: 0.6rem; */
  /* border: 2px dashed #444; */
  /* border-radius: 6px; */
  width: 100%;
    padding: 6px;
    margin-top: 4px;
    border: 2px solid var(--ink);
    border-radius: 6px;
    background: #fffef3;
}

.chat-input button {
  /* padding: 0.6rem 1rem; */
  /* background: #2563EB; */
  /* border: none; */
  /* color: white; */
  /* border-radius: 6px; */
  /* cursor: pointer; */
    background: #fff;
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 8px;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    box-shadow: var(--sketch-shadow);
    transition: transform 0.1s;
}
