/* --- Reset & Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

body {

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9fb;
  display: flex;
  flex-direction: column;
  min-height: 100vh;

}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Header & Nav --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}

.logo span {
  color: #0066cc;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.site-nav a {
  color: #555;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: #0066cc;
}

/* --- Main Content Area --- */
.content {
  flex: 1;
  padding: 2rem 20px;
}

.placeholder-hero {
  text-align: center;
  padding: 1rem 0;
}

/* --- Footer --- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #eaeaea;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: #666;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.footer-links a {
  color: #666;
}

.btn {
  background: #39bdff;
  padding: 0.5rem;
  border-radius: 5px;
  border: none;
  padding: 0.5rem 1.5rem;
}

.video {
  max-width: 480px;
  width: 100%;
}

.how-to-use {
  max-width: 760px;
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid #dce7f0;
  border-radius: 6px;
  background: #f7fbfe;
}

.how-to-use h2,
.video-title {
  margin: 0 0 1rem;
  color: #12344d;
}

.usage-steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.5rem;
}

.usage-steps li {
  padding-left: 0.35rem;
}

.usage-steps strong,
.usage-steps span {
  display: block;
}

.usage-steps span {
  margin-top: 0.25rem;
  color: #4f5f6b;
}

.usage-note {
  display: flex;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #dce7f0;
  color: #4f5f6b;
}

.video-title {
  margin-top: 1.5rem;
  font-size: 1.15rem;
}

/* --- Responsive Mobile Layout --- */
@media (max-width: 600px) {

  .header-container,
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .site-nav ul {
    gap: 1rem;
  }

  #myForm {
    display: flex;
    flex-direction: column;
  }

  #myForm label,
  #myForm input,
  #myForm button {
    width: 100%;
    font-size: medium;
    /* padding: 10px; */
    display: inline;
    margin: auto;
    /* max-height: 2rem; */
    /* border: #686868 1px dotted; */
  }

  .card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
  }

  .login-card {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;

  }

}

/* -----------form --------------- */
#myForm {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

#myForm input {
  flex: 1;
  /* Takes up available space */
  padding: 12px 15px;
  border: 2px solid #eee;
  /* Softer border */
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

#myForm input:focus {
  outline: none;
  border-color: var(--primary-color);
}

#myForm button {
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(135deg, #0984e3, #00a8ff);
  box-shadow: 0 4px 12px rgba(9, 132, 227, 0.2);
}

.login-card {
  width: 400px;
  max-width: 400px;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 50px;
  border-radius: 10px;
  background-color: #f9f9f9;

}

.login-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Keeps labels left-aligned */
}

.login-card button {
  background-color: #0984e3;
  width: 50%;
  padding: 10px;
  margin: 10px 0;
  max-width: 160px;
  color: white;
  border: none;
  cursor: pointer;
}

.update-date {
  /* Uses a linear timing function to fade smoothly */
  animation: smooth-blink 2s linear infinite;
  font-style: italic;
  font-size: 0.9rem;
  color: #5f5f5f;
    white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes smooth-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

#download-btn {
  /* Layout & Alignment */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* Space between icon and text */

  /* Typography */
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  /* Removes default underline */

  /* Sizing & Shape */
  padding: 14px 28px;
  border-radius: 50px;
  /* Pill-shaped */

  /* Background & Depth */
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  /* Modern Purple/Blue gradient */
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);

  /* Micro-interactions */
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover & Focus Interactions */
#download-btn:hover {
  transform: translateY(-2px);
  /* Moves button up slightly */
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

#download-btn:active {
  transform: translateY(0);
  /* Pushes down when clicked */
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.2);
}

#software {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 2rem 0;
}

.software-item .secondary-text {
  margin-top: 0.45rem;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.software-item {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border: 1px solid #d8e8f5;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #f4faff);
  box-shadow: 0 8px 20px rgba(23, 92, 145, 0.08);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #17324d;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.software-item:hover {
  border-color: #39bdff;
  box-shadow: 0 14px 28px rgba(23, 92, 145, 0.16);
  transform: translateY(-4px);
}

.software-item:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(23, 92, 145, 0.1);
}

@media (max-width: 700px) {
  #software {
    grid-template-columns: 1fr;
    margin: 1.5rem 0;
  }

  .software-item {
    min-height: 6rem;
  }
}

#macro-list li {
  border-bottom: 1px solid #e0e0e0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}