:root {
  /* Primary Colors */
  --primary: #1a1a6e;
  --primary-hover: #12124f;
  --primary-light: #e8e8f5;

  /* Neutrals */
  --background: #fafbfc;
  --foreground: #111827;
  --muted: #6b7280;
  --muted-foreground: #9ca3af;
  --border: #e5e7eb;
  --card: #ffffff;
  --text-dark: #1f2937;
  --text-gray: #4b5563;

  /* Accent */
  --accent: #10b981;
  --accent-light: #d1fae5;

  /* Spacing */
  --radius: 0.75rem;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

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

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--foreground);
}

.btn-primary-nav {
  background: var(--foreground);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary-nav:hover {
  background: #374151;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  z-index: 99;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.mobile-menu.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

.mobile-btn {
  text-align: center;
  margin-top: 0.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 8rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.notification-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  animation: fadeInDown 0.6s ease;
}

.notification-banner:hover {
  background: #cce0ff;
}

.notification-icon {
  font-size: 1rem;
}

.notification-arrow {
  width: 16px;
  height: 16px;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 550px;
  text-align: left;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hero-description strong {
  color: var(--primary);
  font-weight: 600;
}

.hero-cta-text {
  font-size: 1.125rem;
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--card);
  color: var(--foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--background);
  border-color: var(--muted-foreground);
}

.hero-visual {
  flex: 1;
  max-width: 560px;
  animation: fadeInUp 1s ease 0.2s both;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 57.14%;
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--border);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

/* Features Section */
.features {
  padding: 4rem 1.5rem;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--primary);
  line-height: 1.4;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-wrapper {
    flex-direction: column;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
    max-width: 600px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    max-width: 100%;
    width: 100%;
  }
}

/* Benefits Section */
.benefits {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
  color: white;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.benefits-content {
  flex: 1;
}

.benefits-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

.benefits-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.benefits-list .bullet {
  color: #60a5fa;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
}

.benefits-list strong {
  color: #60a5fa;
}

.benefits-visual {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.benefits-card-wrapper {
  position: relative;
  width: 100%;
  min-height: 380px;
}

.benefits-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
}

.benefits-circle-1 {
  width: 80px;
  height: 80px;
  background: rgba(96, 165, 250, 0.3);
  top: 0;
  left: 10%;
  animation: benefitsPulse 3s ease-in-out infinite;
}

.benefits-circle-2 {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.4);
  top: 20%;
  right: 5%;
  animation: benefitsPulse 3s ease-in-out infinite 1s;
}

.benefits-circle-3 {
  width: 40px;
  height: 40px;
  background: rgba(245, 158, 11, 0.4);
  bottom: 15%;
  left: 5%;
  animation: benefitsPulse 3s ease-in-out infinite 2s;
}

@keyframes benefitsPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.benefits-doc-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  width: 280px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: benefitsFloat 4s ease-in-out infinite;
}

@keyframes benefitsFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

.benefits-doc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.benefits-doc-icon {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits-doc-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.benefits-doc-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1e293b;
}

.benefits-doc-status {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: #10b981;
  font-weight: 500;
}

.benefits-signature-area {
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px dashed #cbd5e1;
}

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

.benefits-signature-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: benefitsDrawSignature 3s ease-in-out infinite;
}

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

.benefits-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 0.875rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.benefits-badge-1 {
  top: 5%;
  right: 10%;
  animation: benefitsBadgeFloat 3s ease-in-out infinite;
}
.benefits-badge-2 {
  top: 25%;
  left: 0;
  animation: benefitsBadgeFloat 3s ease-in-out infinite 0.5s;
}
.benefits-badge-3 {
  bottom: 30%;
  right: 0;
  animation: benefitsBadgeFloat 3s ease-in-out infinite 1s;
}
.benefits-badge-4 {
  bottom: 10%;
  left: 5%;
  animation: benefitsBadgeFloat 3s ease-in-out infinite 1.5s;
}
.benefits-badge-5 {
  bottom: 0;
  right: 15%;
  animation: benefitsBadgeFloat 3s ease-in-out infinite 2s;
}

@keyframes benefitsBadgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 968px) {
  .benefits-container {
    flex-direction: column;
  }
  .benefits-card-wrapper {
    min-height: 420px;
  }
  .benefits-badge {
    font-size: 0.6875rem;
    padding: 0.4rem 0.75rem;
  }
  .benefits-doc-card {
    width: 260px;
    padding: 1.25rem;
  }
}

/* Highlights Section */
.highlights {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #0a0a3d 0%, #1a1a6e 100%);
}

.highlights-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.highlight-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.highlight-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  color: white;
  opacity: 0.9;
}

.highlight-icon svg {
  width: 100%;
  height: 100%;
}

.highlight-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
  margin-bottom: 0.75rem;
}

.highlight-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 280px;
}

@media (max-width: 768px) {
  .highlights-container {
    flex-direction: column;
    gap: 2.5rem;
  }
  .highlight-item {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* App Download Section */
.app-download {
  padding: 5rem 1.5rem;
  background: #f5f5f5;
}

.app-download-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.app-download-content {
  flex: 1;
  max-width: 500px;
}

.app-download-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

.app-download-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2rem;
}

.app-download-link {
  color: #7c3aed;
  text-decoration: none;
  font-weight: 600;
}

.app-download-link:hover {
  text-decoration: underline;
}

.store-columns {
  display: flex;
  gap: 2rem;
}

.store-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 180px;
}

.store-badge:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.store-badge-icon {
  width: 28px;
  height: 28px;
  color: var(--foreground);
}
.store-badge-icon svg {
  width: 100%;
  height: 100%;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
}

.store-badge-label {
  font-size: 0.625rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.store-badge-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qr-image {
  width: 120px;
  height: 120px;
  border-radius: 0.5rem;
  background: white;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.app-download-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  padding: 2.5rem 1rem 1rem;
  display: flex;
  justify-content: center;
}

.phone-logo {
  height: 24px;
  width: auto;
}

.phone-content {
  flex: 1;
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
}

.phone-subtitle {
  font-size: 0.875rem;
  color: #7c3aed;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.5rem;
}

.phone-instruction {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1rem;
}

.signature-area {
  flex: 1;
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.signature-svg {
  width: 80%;
  height: auto;
}

.pen-icon {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.phone-footer {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.phone-accept {
  font-size: 0.625rem;
  color: var(--muted);
  text-align: center;
}

.phone-accept::before {
  content: "☑";
  color: var(--accent);
  margin-right: 0.25rem;
}

.phone-button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 968px) {
  .app-download-container {
    flex-direction: column;
  }
  .store-columns {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Documents Section */
.documents-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
}

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

.documents-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}

.documents-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-style: italic;
  line-height: 1.7;
}

.documents-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.documents-lists {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.documents-list {
  list-style: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  flex: 1;
}

.documents-list li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.documents-list li:last-child {
  border-bottom: none;
}

.documents-list li::before {
  content: "- ";
  color: #fbbf24;
}

.documents-illustration {
  flex: 1;
  max-width: 400px;
  position: relative;
}

/* Docs Animated Card */
.docs-animated-card {
  position: relative;
  min-height: 320px;
}

.docs-float-circle {
  position: absolute;
  border-radius: 50%;
}

.docs-circle-1 {
  width: 60px;
  height: 60px;
  background: rgba(96, 165, 250, 0.3);
  top: 0;
  left: 15%;
  animation: docsPulse 3s ease-in-out infinite;
}

.docs-circle-2 {
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.4);
  top: 10%;
  right: 10%;
  animation: docsPulse 3s ease-in-out infinite 1s;
}

.docs-circle-3 {
  width: 35px;
  height: 35px;
  background: rgba(245, 158, 11, 0.4);
  bottom: 20%;
  left: 5%;
  animation: docsPulse 3s ease-in-out infinite 2s;
}

@keyframes docsPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

.docs-card-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  width: 260px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: docsFloat 4s ease-in-out infinite;
}

@keyframes docsFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}

.docs-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.docs-file-icon {
  width: 36px;
  height: 36px;
  background: #eff6ff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.docs-file-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.docs-file-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1e293b;
}

.docs-file-status {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 500;
}

.docs-signature-area {
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 0.75rem;
  border: 1px dashed #cbd5e1;
}

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

.docs-signature-path {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: docsDrawSignature 3s ease-in-out infinite;
}

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

.docs-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: white;
  padding: 0.375rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.docs-badge-sent {
  top: 5%;
  right: 5%;
  animation: docsBadgeFloat 3s ease-in-out infinite;
}

.docs-badge-pending {
  bottom: 25%;
  left: 0;
  animation: docsBadgeFloat 3s ease-in-out infinite 0.5s;
}

.docs-badge-nom {
  bottom: 5%;
  right: 10%;
  background: #d1fae5;
  color: #065f46;
  animation: docsBadgeFloat 3s ease-in-out infinite 1s;
}

@keyframes docsBadgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 968px) {
  .documents-content {
    flex-direction: column;
  }
  .documents-lists {
    flex-direction: column;
    gap: 1rem;
  }
  .documents-illustration {
    max-width: 100%;
  }
}

/* Trusted Companies */
.trusted-companies {
  padding: 4rem 1.5rem;
  background: white;
}

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

.trusted-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
    line-height: 1.3;
  }

.companies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.5rem;
  align-items: center;
}

.company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 60px;
}

.company-text {
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
}

.soriana {
  color: #e31837;
}
.tec {
  color: #00205b;
  font-size: 0.75rem;
}
.farmacias {
  color: #1a5632;
  font-size: 0.75rem;
}
.udem-bg {
  background: #ffd700;
  border-radius: 0.25rem;
}
.udem {
  color: #00205b;
}
.invex {
  color: #00205b;
}
.banorte {
  color: #e31837;
}
.bimbo {
  color: #00205b;
  font-size: 0.75rem;
}
.ibero {
  color: #8b0000;
}
.unitec {
  color: #00205b;
}
.karalundi {
  color: #00205b;
}
.laureate {
  color: #00205b;
}
.azteca {
  color: #00205b;
  font-size: 0.75rem;
}
.detecno {
  color: #00a5e0;
}
.gnc {
  color: #00205b;
}
.teleperformance {
  color: #7b2d8e;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .companies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 1.5rem;
  background: var(--background);
}

.pricing-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.pricing-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
    line-height: 1.3;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  flex: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(26, 26, 110, 0.15);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fbbf24;
  color: #1a1a2e;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.plan-price {
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.price-amount.custom {
  font-size: 1.5rem;
}

.price-currency {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 0.25rem;
}

.plan-description {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.plan-button {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  transition: all 0.2s ease;
}

.plan-button-outline {
  background: white;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.plan-button-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.plan-button-filled {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.plan-button-filled:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

@media (max-width: 768px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    max-width: 350px;
    width: 100%;
  }
}

/* Innovation Section */
.innovation {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

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

.innovation-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: var(--primary);
  margin-bottom: 3rem;
  line-height: 1.3;
}

.innovation-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  min-height: 500px;
}

.innovation-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  max-width: 280px;
}

.left-badges {
  align-items: flex-end;
}
.right-badges {
  align-items: flex-start;
}

.badge-item {
  background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: badgeFloat 3s ease-in-out infinite;
  animation-delay: var(--delay);
  transform: translateY(var(--float-offset));
  transition: all 0.3s ease;
}

.badge-item:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  transform: scale(1.05);
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(var(--float-offset));
  }
  50% {
    transform: translateY(calc(var(--float-offset) - 8px));
  }
}

.innovation-illustration {
  flex: 0 0 400px;
  height: 450px;
  position: relative;
}

/* Gears */
.gear {
  position: absolute;
  animation: rotate 8s linear infinite;
}

.gear-top-right {
  width: 40px;
  height: 40px;
  top: 0;
  right: 20%;
}

.gear-top-left {
  width: 30px;
  height: 30px;
  top: 10%;
  left: 15%;
  animation-direction: reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.decorative-dots {
  position: absolute;
  top: 5%;
  right: 10%;
  display: flex;
  gap: 4px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #60a5fa;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  animation-delay: var(--dot-delay);
}

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

.arrow-left,
.arrow-right {
  position: absolute;
  width: 40px;
  height: 20px;
  top: 45%;
}

.arrow-left {
  left: 15%;
  animation: arrowBounce 2s ease-in-out infinite;
}
.arrow-right {
  right: 15%;
  animation: arrowBounce 2s ease-in-out infinite 1s;
}

@keyframes arrowBounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.person-illustration {
  position: absolute;
  bottom: 10%;
}

.person-woman {
  left: 5%;
  width: 80px;
  animation: personSway 4s ease-in-out infinite;
}

.person-man {
  right: 0;
  width: 90px;
  animation: personSway 4s ease-in-out infinite 0.5s;
}

@keyframes personSway {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

.center-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

.phone-body {
  width: 140px;
  height: 240px;
  background: white;
  border-radius: 20px;
  border: 4px solid #3b82f6;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.phone-screen-content {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.screen-lines {
  margin-bottom: 10px;
}

.screen-line {
  height: 8px;
  background: #f97316;
  border-radius: 4px;
  margin-bottom: 6px;
}

.screen-line.short {
  width: 60%;
}

.screen-signature-box {
  flex: 1;
  border: 2px dashed #10b981;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.signature-animated {
  width: 90%;
  height: 40px;
}

.signature-draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawSignature 3s ease-in-out infinite;
}

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

.ground-element {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

@media (max-width: 1200px) {
  .innovation-content {
    flex-wrap: wrap;
  }
  .innovation-badges {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .left-badges,
  .right-badges {
    align-items: center;
  }
  .innovation-illustration {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .innovation-illustration {
    flex: 0 0 300px;
    height: 350px;
  }
  .badge-item {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

/* Consortium Section */
.consortium {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #1a1a6e 0%, #2d2d8a 100%);
}

.consortium-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.consortium-content {
  flex: 1;
  max-width: 600px;
}

.consortium-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.consortium-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.consortium-logo {
  flex-shrink: 0;
}

.consortium-logo-svg {
  width: 250px;
  height: auto;
}

@media (max-width: 768px) {
  .consortium-container {
    flex-direction: column;
    text-align: center;
  }
  .consortium-logo-svg {
    width: 200px;
  }
}

/* Contact Form */
.contact {
  padding: 5rem 1.5rem;
  background: white;
}

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

.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  font-size: 0.9375rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  color: var(--text-gray);
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-bottom-color: var(--primary);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.btn-submit {
  align-self: center;
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.btn-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(26, 26, 110, 0.3);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-card {
    padding: 2rem 1.5rem;
  }
}

/* Footer */
.footer {
  background: #0f172a;
  padding: 3rem 1.5rem 2rem;
  color: white;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
      height: 32px;
    width: 141px;
  filter: brightness(0) invert(1);
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item svg {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.footer-psc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.psc-logo {
  width: 120px;
  height: auto;
}

.psc-tagline {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  line-height: 1.4;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.social-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-info {
    align-items: center;
  }
  .footer-contact-item {
    justify-content: center;
    text-align: left;
  }
  .footer-links {
    align-items: center;
  }
  .footer-right {
    align-items: center;
  }
  .footer-psc {
    align-items: center;
  }
  .psc-tagline {
    text-align: center;
  }
  .footer-social {
    align-items: center;
  }
}

/* Responsive mobile menu */
@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .features-container {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .feature-item {
    flex: 0 0 45%;
  }
}

@media (max-width: 480px) {
  .feature-item {
    flex: 0 0 100%;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(26, 26, 110, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 26, 110, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}
