/* ─── Reset & Base ───────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ─── Container ─────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

/* ─── Header / Nav ───────────────────────────────── */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  padding: 15px 0;
  gap: 25px; /* Add gap for children */
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-container img {
  width: 40px;
  height: auto;
  margin-right: 10px;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FF7A00;
}
.nav-links {
  display: flex;
  align-items: center; /* Vertically align items */
  gap: 25px; /* Increase gap for better spacing */
  margin-left: auto; /* Push to the right */
}
.nav-links a {
  font-size: 1rem;
  font-weight: 500; /* Add some weight */
  padding: 8px 12px; /* Adjust padding */
  border-radius: 6px; /* Add slight rounding */
  transition: all 0.3s ease; /* Smoother transition */
}
.nav-links a:hover {
  color: #FF7A00;
  background-color: #f0f0f0; /* Add a subtle hover background */
}
.login-button {
  background: #FF7A00;
  color: #fff;
  border: none;
  border-radius: 6px; /* Match nav links */
  padding: 8px 18px; /* Adjust padding */
  font-size: 1rem;
  font-weight: 500; /* Match nav links */
  cursor: pointer;
  transition: background 0.3s ease; /* Smoother transition */
}
.login-button:hover {
  background: #e66a00;
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  background: #fff;
}
.hero .container {
  text-align: center;
  padding: 100px 0;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}
.search-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.search-container input {
  flex: 1;
  padding: 15px 20px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.search-container button {
  background: #FF7A00;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 15px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.search-container button:hover {
  background: #e66a00;
}

/* ─── Prompt Examples ────────────────────────────── */
.prompt-examples {
  background: #f9f9f9;
}
.prompt-examples .container {
  padding: 60px 0;
}
.prompt-examples h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}
.card-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #FF7A00;
}
.card p {
  color: #555;
}

/* ─── Features ───────────────────────────────────── */
.features {
  background: #fff;
}
.features .container {
  padding: 60px 0;
}
.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.feature {
  text-align: center;
}
.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.feature p {
  color: #555;
}

/* ─── FAQ ────────────────────────────────────────── */
.faq {
  background: #f9f9f9;
}
.faq .container {
  padding: 60px 0;
}
.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}
.faq details {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}
.faq summary {
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details[open] summary {
  background: #FF7A00;
  color: #fff;
}
.faq p {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  color: #555;
}

/* ─── Footer ────────────────────────────────────── */
footer {
  background: #2d3748;
  color: #fff;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.footer-content a {
  color: #fff;
  text-decoration: underline;
}

/* ─── Modal (로그인) ─────────────────────────────── */
.modal {
  display: none; /* Initially hidden */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}
.modal-content .close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-content form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.modal-content form button {
  width: 100%;
  background: #FF7A00;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.modal-content form button:hover {
  background: #e66a00;
}
