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;
}




.container {
  max-width: 520px;
  margin: 60px auto;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #1f2937;
}

.subtitle {
  text-align: center;
  color: #4b5563;
  margin-bottom: 30px;
}

.redact-steps {
  display: grid;
  gap: 16px;
}

.step-box {
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 500;
}

.redact-section {
  margin-bottom: 40px;
}

.redact-section h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.redact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* side by side */
  gap: 20px;
}

/* Card-style radio buttons */
.option-card {
display: flex;
  gap: 12px;
  padding: 16px 14px;
  min-height: 110px;        /* ✅ equal rectangle height */
  background: rgba(255, 255, 255, 0.85);
    border: 1px solid #000000;   /* black border */
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
  cursor: pointer;

  align-items: flex-start;
}

.option-card input[type="radio"] {
  margin-top: 4px;
  flex-shrink: 0;
}

.option-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}




.option-card p {
 margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #4b5563;
}

.option-card:hover {
  border-color: #c1121f;
}

/* Selected state */
.option-card input:checked + div {
  color: #111827;
    font-weight: 600;
}


.card {
  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);
}

.card h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #111827;
}

.card h3 {
  font-size: 16px;
  margin-top: 22px;
  margin-bottom: 6px;
  color: #1f2937;
}

.card p {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.card ul {
  padding-left: 18px;
  margin: 8px 0;
}

.card li {
  font-size: 14px;
  margin-bottom: 6px;
  color: #374151;
}

.card .note {
  margin-top: 18px;
  font-size: 13px;
  color: #6b7280;
}

.label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.redact-section {
  margin-bottom: 40px;
}

.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);
}

.scan-section {
  text-align: center;
}

.scan-results {
  margin-top: 40px;
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.result-item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 16px;
}

.result-item strong {
  display: block;
  font-size: 14px;
  color: #374151;
}

.result-item span {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* Button variants */
.btn-primary {
  background: #000000;
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary {
  background: #c1121f;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-danger {
  background: #c1121f;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #000000;
}

.btn-danger:hover {
  background: #000000;
}

.hidden {
  display: none;
}

.detected-panel {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  justify-content: center;
  border-radius: 10px;
  background: #fafafa;
}

.category-group {
  margin-bottom: 12px;
}

.category-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.detected-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 14px;
}

/* Button style */
.view-btn {
  background: #000000;        /* black box */
  color: #ffffff;
  border: none;
  justify-content: center;



  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 */
.view-btn:hover {
  background: #c1121f;        /* red hover */
  transform: translateY(-1px);
}

/* Focus (accessibility, optional but good) */
.view-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.3);
}

.scan-summary {
  margin: 16px auto;          /* 👈 centers horizontally */
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafafa;

  max-width: 600px;           /* optional but recommended */
  text-align: center;         /* centers text + button */
}

.detected-panel {
  margin: 16px auto;          /* ✅ centers the whole panel */
  padding: 14px;

  max-width: 600px;           /* keeps it neat */
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;

  text-align: left;           /* 👈 IMPORTANT (see below) */
}

.hidden {
  display: none;
}

/* 🔽 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;
}

.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.hidden {
  display: none;
}

.payment-box {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.payment-box h2 {
  margin-bottom: 10px;
}

.price {
  font-size: 18px;
  margin: 10px 0;
  color: #c40000;
  font-weight: bold;
}

.actions button {
  margin: 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#payBtn {
  background: #c40000;
  color: #fff;
}

#cancelBtn {
  background: #ddd;
}






