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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  overflow-x: hidden;
}

.material-symbols-outlined {
  font-size: 32px;
  font-variation-settings:
	'FILL' 1,
	'wght' 400,
	'GRAD' 0,
	'opsz' 48;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 1rem 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0066A1;
}

.nav-links a.cta-button {
  background: linear-gradient(135deg, #0066A1 0%, #004a7c 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 161, 0.4);
}

.nav-links a.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 102, 161, 0.5);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0066A1 0%, #004a7c 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.primary-button {
  background: white;
  color: #0066A1;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.secondary-button {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: white;
  color: #0066A1;
}

.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.document-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.document-card:hover {
  transform: rotate(0deg) scale(1.05);
}

.signature-line {
  height: 2px;
  background: linear-gradient(90deg, #0066A1 0%, transparent 100%);
  margin: 1rem 0;
  animation: drawLine 2s ease infinite;
}

.signature-container {
  position: relative;
  height: 80px;
  margin: 1.5rem 0;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px;
  overflow: hidden;
}

.signature-svg {
  width: 100%;
  height: 100%;
}

.signature-path {
  stroke: #0066A1;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawSignature 3s ease-in-out infinite;
}

@keyframes drawSignature {
  0% {
	stroke-dashoffset: 1000;
	opacity: 0;
  }
  10% {
	opacity: 1;
  }
  70% {
	stroke-dashoffset: 0;
  }
  100% {
	stroke-dashoffset: 0;
	opacity: 1;
  }
}

/* Features Section */
.features {
  padding: 6rem 2rem;
  background: #f7fafc;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #718096;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 102, 161, 0.2);
  border-color: #0066A1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0066A1 0%, #004a7c 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #718096;
  line-height: 1.8;
}

/* How It Works */
.how-it-works {
  padding: 6rem 2rem;
  background: white;
}

.steps-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInLeft 0.6s ease forwards;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }
.step:nth-child(4) { animation-delay: 0.8s; }

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0066A1 0%, #004a7c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 102, 161, 0.3);
}

.step-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #718096;
  font-size: 1.1rem;
}

/* Pricing Section */
.pricing {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0066A1 0%, #004a7c 100%);
}

.pricing .section-title,
.pricing .section-subtitle {
  color: white;
}

.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 3px solid #fbbf24;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: #0066A1;
  margin-bottom: 0.5rem;
}

.plan-price span {
  font-size: 1.2rem;
  color: #718096;
}

.plan-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.plan-features li {
  padding: 0.75rem 0;
  color: #4a5568;
  border-bottom: 1px solid #e2e8f0;
}

.plan-features li::before {
  content: '✓';
  color: #48bb78;
  font-weight: bold;
  margin-right: 0.5rem;
}

.plan-button {
  background: linear-gradient(135deg, #0066A1 0%, #004a7c 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  width: 100%;
}

.plan-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 102, 161, 0.4);
}

/* Footer */
footer {
  background: #1a202c;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #0066A1;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #0066A1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #2d3748;
  color: #a0aec0;
}

/* Animations */
@keyframes fadeInUp {
  from {
	opacity: 0;
	transform: translateY(30px);
  }
  to {
	opacity: 1;
	transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
	opacity: 0;
	transform: translateX(-30px);
  }
  to {
	opacity: 1;
	transform: translateX(0);
  }
}

@keyframes drawLine {
  0%, 100% {
	width: 80%;
  }
  50% {
	width: 100%;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
	display: none;
  }

  .hero-container {
	grid-template-columns: 1fr;
	text-align: center;
  }

  .hero-content h1 {
	font-size: 2.5rem;
  }

  .hero-buttons {
	justify-content: center;
	flex-wrap: wrap;
  }

  .hero-visual {
	order: -1;
  }

  .step {
	grid-template-columns: 1fr;
	text-align: center;
  }

  .step-number {
	margin: 0 auto 1rem;
  }

  .pricing-card.featured {
	transform: scale(1);
  }
}

 * { box-sizing: border-box; }
body { 
  font-family: sans-serif; 
  margin: 0; 
  padding: 20px; 
  background-color: #f4f4f4; 
  color: #333; 
}
h2, h3 { color: #0056b3; margin-top: 0; }

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.layout-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.left-panel {
  flex: 0 0 450px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.right-panel {
  flex: 1;
  min-width: 0;
}

.card {
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input[type="email"], input[type="password"], input[type="file"], input[type="text"] {
  padding: 8px; 
  margin-right: 10px; 
  margin-bottom: 10px;
  border: 1px solid #ccc; 
  border-radius: 4px;
  width: 100%;
}

button {
  padding: 10px 15px; 
  border: none; 
  border-radius: 4px; 
  background-color: #007bff; 
  color: white; 
  cursor: pointer;
  font-size: 16px; 
  transition: background-color 0.2s;
  margin-right: 5px;
  margin-bottom: 5px;
}
button:hover { background-color: #0056b3; }
button:disabled { background-color: #cccccc; cursor: not-allowed; }

#pdfViewerContainer {
  position: relative;
  cursor: crosshair;
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-height: 80vh;
  overflow-y: auto;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#pdfViewerContainer canvas {
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;
  margin: 10px auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  background: white;
}

.signature-preview {
  position: absolute;
  border: 2px dashed blue;
  background-color: rgba(0, 0, 255, 0.1);
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: #0056b3;
}

.name-preview {
  position: absolute;
  border: 2px dashed green;
  background-color: rgba(0, 255, 0, 0.1);
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
  color: #2e7d32;
}

#uploadMessage {
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 15px;
}

#linkDisplay {
  background-color: #e8f5e9;
  padding: 15px;
  border-radius: 5px;
}

#linkDisplay a {
  color: #007bff;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  padding: 5px;
}

#linkDisplay a:hover {
  text-decoration: underline;
  background-color: #f0f0f0;
}

.signer-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  padding: 12px;
  background-color: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.signer-row.placed {
  background-color: #e8f5e9;
  border: 1px solid #4caf50;
}

.signer-row.partial {
  background-color: #fff3e0;
  border: 1px solid #ff9800;
}

.signer-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #333;
  flex-shrink: 0;
}

.signer-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signer-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.signer-buttons button {
  flex: 1;
  min-width: 100px;
  font-size: 13px;
  padding: 8px 10px;
}

.btn-remove {
  background-color: #dc3545 !important;
}

.btn-remove:hover {
  background-color: #c82333 !important;
}

.btn-success {
  background-color: #28a745 !important;
}

.btn-success:hover {
  background-color: #218838 !important;
}

/* Mobile responsive */
@media (max-width: 900px) {
  body { padding: 10px; }
  
  .layout-wrapper {
	flex-direction: column;
  }
  
  .left-panel {
	flex: 1;
	width: 100%;
  }
  
  .right-panel {
	width: 100%;
  }
  
  #pdfViewerContainer {
	max-height: 60vh;
  }
}