/* ==========================================================================
   SecureShare - Modern Dark Navy & Glassmorphism Theme
   Shared across index.html & download.html
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-gradient: radial-gradient(circle at 50% 0%, #1e40af 0%, #0b1d4a 45%, #050d24 100%);
  --navy-dark: #050d24;
  --glass-bg: rgba(15, 23, 42, 0.72);
  --glass-modal-bg: rgba(15, 23, 42, 0.88);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hover: rgba(56, 189, 248, 0.4);
  --input-bg: rgba(3, 7, 18, 0.65);
  --input-border: rgba(255, 255, 255, 0.18);
  --cyan-primary: #0ea5e9;
  --cyan-hover: #38bdf8;
  --cyan-glow: rgba(14, 165, 233, 0.45);
  --text-pure: #ffffff;
  --text-bright: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.14);
  --success-border: rgba(16, 185, 129, 0.35);
  --error: #f43f5e;
  --error-bg: rgba(244, 63, 94, 0.14);
  --error-border: rgba(244, 63, 94, 0.35);
  --shadow-card: 0 16px 45px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(255, 255, 255, 0.05);
  --shadow-modal: 0 24px 50px rgba(0, 0, 0, 0.65);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--navy-dark);
  background-image: var(--bg-gradient);
  color: var(--text-pure);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Faint Grid/Dot Overlay Pattern in pure CSS */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient Floating Glowing Circles */
.floating-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.45;
  animation: floatCircle 24s ease-in-out infinite alternate;
}

.circle-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #2563eb 0%, rgba(37, 99, 235, 0) 70%);
  top: -100px;
  left: -80px;
}

.circle-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
  bottom: -120px;
  right: -80px;
  animation-duration: 30s;
  animation-direction: alternate-reverse;
}

.circle-3 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, #4f46e5 0%, rgba(79, 70, 229, 0) 70%);
  top: 40%;
  left: 45%;
  animation-duration: 26s;
}

@keyframes floatCircle {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 35px) scale(1.1); }
  100% { transform: translate(-35px, 50px) scale(0.92); }
}

/* ==========================================================================
   Top Navbar
   ========================================================================== */

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 28px;
  background: rgba(7, 18, 43, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-pure);
}

.brand-icon {
  width: 24px;
  height: 24px;
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ==========================================================================
   Common Layouts & Glass Cards
   ========================================================================== */

.landing-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  width: 100%;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
  width: 100%;
  color: var(--text-pure);
}

/* ==========================================================================
   Hero Section (index.html)
   ========================================================================== */

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  padding: 20px 0;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.7px;
  line-height: 1.12;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--cyan-hover);
  line-height: 1.4;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  margin: 8px 0;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

/* Right Column: Hero Illustration */
.hero-right {
  display: flex;
  justify-content: center;
}

.illustration-card {
  width: 100%;
  max-width: 410px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 34px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-diagram {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.node-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-hover);
}

.flow-node.highlight .node-icon {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 24px var(--cyan-glow);
}

.node-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.flow-track {
  position: relative;
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
  margin: 0 8px;
}

.track-line {
  width: 100%;
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.25);
}

.traveling-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan-hover);
  box-shadow: 0 0 10px var(--cyan-hover);
  transform: translateY(-50%);
  animation: moveDot 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.dot-2 {
  animation-delay: 1s;
}

@keyframes moveDot {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.illustration-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* How It Works Section */
.how-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 48px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-pure);
  text-align: center;
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.18);
  color: var(--cyan-hover);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(14, 165, 233, 0.4);
}

.step-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--cyan-glow);
}

.btn-primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.4);
}

.btn-large {
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.3);
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--glass-border);
  padding: 10px 18px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn:disabled {
  background: rgba(100, 116, 139, 0.3) !important;
  color: #64748b !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed;
}

/* Form Groups & Inputs */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  background-color: var(--input-bg);
  color: #ffffff;
  transition: all 0.15s ease;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #64748b;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--cyan-hover);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   Password Strength Meter & Generator
   ========================================================================== */

.strength-meter-wrap {
  margin-top: 8px;
}

.strength-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.generator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -6px;
  margin-bottom: 18px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--cyan-hover);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-link:hover {
  color: #ffffff;
}

.pwd-hint {
  font-size: 11px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ==========================================================================
   Drag & Drop Zone (Modal)
   ========================================================================== */

.drop-zone {
  border: 2px dashed rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 30px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--cyan-hover);
  background-color: rgba(14, 165, 233, 0.08);
}

.drop-icon {
  color: var(--cyan-primary);
  margin-bottom: 8px;
}

.drop-primary-text {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
}

.browse-link {
  color: var(--cyan-hover);
  text-decoration: underline;
}

.drop-secondary-text {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-info {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.file-info.error {
  color: var(--error);
  font-weight: 600;
}

/* ==========================================================================
   Upload Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  background: var(--glass-modal-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 16px;
  box-shadow: var(--shadow-modal);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.close-btn {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
}

.close-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

/* ==========================================================================
   Progress Stepper
   ========================================================================== */

.progress-stepper {
  margin: 18px 0;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 1;
}

.step-indicator {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.step-text {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.step-item.active .step-indicator {
  border-color: var(--cyan-hover);
  background-color: var(--cyan-primary);
  color: #ffffff;
  box-shadow: 0 0 14px var(--cyan-glow);
}

.step-item.active .step-text {
  color: var(--cyan-hover);
  font-weight: 700;
}

.step-item.completed .step-indicator {
  border-color: var(--success);
  background-color: var(--success);
  color: #ffffff;
}

.step-item.completed .step-text {
  color: var(--success);
}

.step-line {
  flex: 1;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.16);
  margin: 0 6px 16px;
  transition: background-color 0.2s ease;
}

.step-line.completed {
  background-color: var(--success);
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar {
  height: 100%;
  background-color: var(--cyan-primary);
  box-shadow: 0 0 10px var(--cyan-primary);
  transition: width 0.2s ease;
}

.progress-status-text {
  font-size: 12px;
  color: #cbd5e1;
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   Status Messages & Alerts
   ========================================================================== */

.status-msg {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
  word-break: break-word;
}

.status-msg.error {
  background-color: var(--error-bg);
  border: 1px solid var(--error-border);
  color: #fecdd3;
}

.status-msg.success {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  color: #a7f3d0;
}

/* ==========================================================================
   Success Views & Highlighted Callouts
   ========================================================================== */

.success-view {
  padding: 28px 20px;
  text-align: center;
}

.checkmark-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
}

.checkmark-svg {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: block;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2.5;
  stroke: var(--success);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: var(--success);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.5;
  animation: stroke 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

.success-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.success-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.share-box {
  display: flex;
  gap: 8px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  padding: 6px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.share-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 10px;
  font-family: monospace;
  font-size: 13px;
  color: var(--cyan-hover);
  outline: none;
}

/* Prominent Highlighted Security Note on Upload Success */
.highlight-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(14, 165, 233, 0.12);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0 22px;
  text-align: left;
}

.notice-icon {
  color: var(--cyan-hover);
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.notice-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan-hover);
  letter-spacing: 0.6px;
}

.notice-message {
  font-size: 13px;
  color: #f1f5f9;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Download Page (download.html)
   ========================================================================== */

.download-container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.download-card {
  max-width: 480px;
  text-align: center;
  position: relative;
}

/* Large Animated Lock Icon */
.lock-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 50%;
  color: var(--cyan-hover);
  transition: all 0.4s ease;
}

.lock-svg {
  width: 38px;
  height: 38px;
  overflow: visible;
}

.lock-shackle {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.4s ease;
  transform-origin: 18px 10px;
}

.lock-body {
  transition: stroke 0.4s ease, fill 0.4s ease;
}

.lock-icon-wrap.unlocked {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--success);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.lock-icon-wrap.unlocked .lock-shackle {
  transform: translateY(-8px) rotate(-26deg);
  stroke: var(--success);
}

.lock-icon-wrap.unlocked .lock-body {
  stroke: var(--success);
  fill: rgba(16, 185, 129, 0.15);
}

.download-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.download-subtext {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Prominently Highlighted Expiry Countdown Box */
.expiry-highlight-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(14, 165, 233, 0.14);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 22px rgba(14, 165, 233, 0.28);
  padding: 10px 22px;
  border-radius: 30px;
  margin: 0 auto 24px;
  color: #38bdf8;
  font-weight: 700;
}

.expiry-countdown-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Prominently Highlighted Deletion Confirmation on Download Success */
.highlight-deleted-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(16, 185, 129, 0.14);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0 24px;
  text-align: left;
}

.deleted-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.deleted-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.deleted-heading {
  font-size: 14px;
  font-weight: 700;
  color: #6ee7b7;
}

.deleted-subtext {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.4;
  margin: 0;
}

/* Error Shake Animation */
.card-shake {
  animation: cardShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes cardShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Empty State View */
.empty-state {
  padding: 24px 12px;
  text-align: center;
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--error);
  opacity: 0.85;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ==========================================================================
   Responsiveness & Accessibility (prefers-reduced-motion)
   ========================================================================== */

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 44px;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .feature-chips {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modal-card {
    max-height: 95vh;
  }
}

@media (max-width: 420px) {
  .site-navbar {
    padding: 12px 16px;
  }
  
  .card {
    padding: 24px 18px;
  }

  .hero-title {
    font-size: 32px;
  }

  .highlight-notice-box {
    padding: 12px 14px;
  }

  .highlight-deleted-card {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-circle {
    display: none !important;
  }

  .card-shake {
    animation: none !important;
  }

  .live-dot {
    animation: none !important;
  }
}
