/* ===============================
   GLOBAL RESET & BASE
   =============================== */

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;

    background: linear-gradient(
      135deg,
      #ffffff 0%,
      #fff3f5 45%,
      #fde7eb 100%
    );
  }



/* ================= TOP BLACK BAR ================= */
.top-bar {
  height: 0.5in;                 /* ✅ approx 1 inch */
  background: #000000;
  color: white;
}

.top-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
}

/* Log in – plain text */
.top-bar .login {
  color: white;
}

/* Sign up – white box, black text */
.top-bar .signup {
  background: #ffffff;
  color: #000000;          /* ✅ black text */
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.top-right {
  margin-left: auto;
}


/* ================= WHITE HEADER ================= */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;   /* vertical centering */
  gap: 1px;             /* space between symbol and text */
}

/* Logo symbol */
.logo img {
  height: 170px;          /* adjust if needed */
  width: auto;
  display: block;  /* removes inline spacing issues */
}


.logo img {
  transform: translateX(-50px) translateY(-10px);
}




/* Logo text */
.logo-text {
  line-height: 1;     /* 🔒 prevents vertical drift */
  font-size: 30px;
  font-weight: 700;
  white-space: nowrap;/* prevents breaking */
  margin-left : -90px
}

.logo-text span {
  color: #c1121f;        /* red for Svara */
}


.nav-links {
  margin-left: 40px;
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: #111827;
  font-weight: 500;
}

/* ================= HERO SECTION ================= */



 .hero {
   position: relative;
   overflow: hidden;
   padding-bottom: 48px;
   margin-left: 50px
 }

.pdf-float {
  position: absolute;
  width: 36px;                /* ✅ small */
  opacity: 0.12;              /* ✅ transparent */
  pointer-events: none;       /* background only */
  user-select: none;

  animation: floatSlow 14s ease-in-out infinite;
}
.pdf-1 {
  top: 18%;
  left: 10%;
  animation-duration: 16s;
}

.pdf-2 {
  top: 32%;
  left: 65%;
  animation-duration: 18s;
}

.pdf-3 {
  top: 60%;
  left: 25%;
  animation-duration: 20s;
}

.pdf-4 {
  top: 10%;
  right: 10%;
  animation-duration: 22s;
}

.pdf-5 {
  top: 75%;
  right: 70%;
  animation-duration: 22s;
}



/* ===============================
   MAIN CONTAINER
   =============================== */

.container {
  max-width: 900px;
  margin: 0 auto;          /* remove vertical margin */
  padding: 32px 20px 80px; /* top padding controls spacing from header */
}

/* ===============================
   HERO SECTION
   =============================== */

.hero {
  text-align: center;
  margin-top: 0;          /* ❌ remove negative margin */
  padding-top: 32px;      /* clean spacing below header */
}
/* ===============================
   UPLOAD CARD
   =============================== */

.card {
  background: #ffffff;
  padding: 34px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  max-width: 460px;
  margin: 0 auto;
}

input[type="file"] {
  display: block;
  margin: 0 auto 22px;
}

.button {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Button style */
.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Button style */
.btn {
  background: #000000;        /* black box */
  color: #ffffff;
  border: none;

  padding: 14px 36px;
  border-radius: 6px;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

/* Hover effect */
.btn:hover {
  background: #c1121f;        /* red hover */
  transform: translateY(-1px);
}

/* Focus (accessibility, optional but good) */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.3);
}


.status {
  margin-top: 16px;
  font-size: 14px;
  color: #374151;
}

/* ===============================
   REDACTION MODE OPTIONS
   =============================== */

.redact-mode {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 18px 0 14px;
  font-size: 14px;
  color: #374151;
}

.redact-mode label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
}

.redact-mode input[type="radio"] {
  accent-color: #2563eb;
  cursor: pointer;
}

/* ===============================
   MANUAL REDACTION INPUT
   =============================== */

.manual-box {
  display: none;
  text-align: left;
  margin-bottom: 18px;
}

.manual-box label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  display: block;
  margin-bottom: 6px;
}

.manual-box textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.manual-box textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}


/* ===============================
   HOW IT WORKS
   =============================== */

.how-it-works {
  margin: 70px 0 60px;
  text-align: center;
}

.how-it-works h2 {
  font-size: 26px;
  margin-bottom: 30px;
}

.steps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 20px;
  width: 220px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.step span {
  font-size: 26px;
  display: block;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: #374151;
}

/* ===============================
   TRUST SECTION
   =============================== */

.trust-section {
  margin: 60px 0;
  background: #f8fafc;
  border-radius: 16px;
  padding: 40px 30px;
}

.trust-section h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.trust-list {
  list-style: none;
  padding-left: 0;
  max-width: 420px;
  margin: 0 auto;
}

.trust-list li {
  font-size: 14px;
  margin-bottom: 10px;
  color: #374151;
}

/* ===============================
   USE CASES
   =============================== */

.use-cases {
  margin: 60px 0;
}

.use-cases h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.use-case-list {
  list-style: none;
  padding-left: 0;
  max-width: 520px;
  margin: 0 auto;
}

.use-case-list li {
  font-size: 14px;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

/* ===============================
   INFO / EDUCATIONAL BOX
   =============================== */

.info-box {
  margin: 70px 0;
  padding: 34px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.info-box h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #111827;
}

.info-box h3 {
  font-size: 16px;
  margin-top: 22px;
  margin-bottom: 6px;
  color: #1f2937;
}

.info-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.info-box ul {
  padding-left: 18px;
  margin: 8px 0;
}

.info-box li {
  font-size: 14px;
  margin-bottom: 6px;
  color: #374151;
}

.info-box .note {
  margin-top: 18px;
  font-size: 13px;
  color: #6b7280;
}

/* ===============================
   FOOTER
   =============================== */

.footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 13px;
  color: #6b7280;
}

/* 🔽 Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* 🔽 Main button */
.dropbtn {
  cursor: pointer;
}

/* 🔽 Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 6px;
  z-index: 999;
}

/* 🔽 Links inside dropdown */
.dropdown-content a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* 🔽 Hover effect */
.dropdown-content a:hover {
  background-color: #f5f5f5;
}

/* 🔽 Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
