@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

/* Global font: DM Sans */
html, body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  background-color: var(--background-color, #ffffff);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden; /* prevent horizontal scrolling */
}

/* Use border-box everywhere to avoid unexpected width calculations that cause overflow */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Make images, videos and iframes responsive so they don't overflow */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Page structure styles */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: 10rem 0 1.5rem; /* reduced top padding for better content positioning */
}

/* Reduce large top padding for slimmer hero pages */
.main-content.pricing-page,
.main-content.download-page {
  padding-top: 6.2rem; /* align compact spacing with pricing layout */
}

/* Ensure form elements inherit the DM Sans font */
input, button, textarea, select {
  font-family: inherit;
}

/* Auth Debug Panel Styles */
.auth-debug-panel {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #2196F3;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 300px;
}

.auth-debug-button {
  background: #2196F3;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.auth-debug-button:hover {
  background: #1976D2;
}

.auth-debug-button:active {
  background: #1565C0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.8rem; /* slightly increased vertical padding */
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(16, 24, 32, 0.06);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(12, 24, 40, 0.08);
  position: fixed;
  top: 12px; /* nudge down to account for extra padding */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  width: min(1100px, calc(100% - 2rem));
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.navbar-brand img {
  height: 45px;
  width: 45px;
}

.navbar-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex: 1;
  padding: 0; /* reset leftover padding */
}
.navbar-links a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all 0.2s;
  font-weight: 300; /* make unselected nav links thin */
}

.navbar-links a:hover {
  background-color: #e9ecef;
}

.navbar-links a.active {
  font-weight: bold;
  color: #007bff;
}

.navbar-actions {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.navbar-mobile-cta {
  display: none;
}

.navbar-get-started {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.55rem;
  border-radius: 999px;
  background: linear-gradient(130deg, #0ea5e9 0%, #22d3ee 40%, #2dd4bf 100%);
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 16px 40px -28px rgba(14, 165, 233, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.navbar-get-started::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(226, 232, 240, 0.25);
  mix-blend-mode: screen;
}

.navbar-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -26px rgba(14, 165, 233, 0.95);
  background: linear-gradient(130deg, #38bdf8 0%, #22d3ee 35%, #34d399 100%);
}

.navbar-get-started:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.navbar-get-started-text {
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.navbar-get-started-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.86);
  color: #0f172a;
  transition: transform 0.18s ease;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.12);
}

.navbar-get-started:hover .navbar-get-started-icon {
  transform: translateX(2px);
}

.navbar-get-started:active {
  transform: translateY(0);
  box-shadow: 0 14px 35px -28px rgba(14, 165, 233, 0.9);
}

/* Share Box */
.share-section {
  padding: 1.5rem 0 2.5rem;
}

.share-card {
  position: relative;
  border-radius: 24px;
  padding: 1.85rem 2.1rem 2rem;
  background: radial-gradient(circle at 12% -20%, rgba(59, 130, 246, 0.18), transparent 60%), radial-gradient(circle at 88% -10%, rgba(45, 212, 191, 0.12), transparent 65%), #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 50px -30px rgba(15, 23, 42, 0.55);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  isolation: isolate;
}

.share-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.share-header-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.share-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.share-header-left h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.share-tagline {
  margin: 0.35rem 0 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}

.share-banner {
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #991b1b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-banner.error {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

.share-tabs {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.3rem;
  background: rgba(226, 232, 240, 0.6);
  border-radius: 999px;
  width: fit-content;
}

.tab-pill {
  border: none;
  background: transparent;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tab-pill:hover {
  color: #0f172a;
}

.tab-pill.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 14px 28px -18px rgba(15, 23, 42, 0.45);
}

.share-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.share-input {
  width: 100%;
  min-height: 140px;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.92);
  resize: vertical;
  font-size: 1rem;
  line-height: 1.6;
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.15);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.share-input::placeholder {
  color: #94a3b8;
}

.share-input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), inset 0 1px 0 rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.98);
}

.share-input.drag-over,
.file-dropzone.drag-over {
  border-color: rgba(16, 185, 129, 0.7) !important;
  box-shadow: 0 20px 40px -30px rgba(16, 185, 129, 0.7);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.95), #ffffff);
}

.share-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.share-hint {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(226, 232, 240, 0.45);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  color: #475569;
  line-height: 1.45;
}

.hint-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
  white-space: nowrap;
}

.hint-badge-tip {
  background: rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
}

.hint-badge-ready {
  background: rgba(16, 185, 129, 0.16);
  color: #059669;
}

.hint-badge-warn {
  background: rgba(251, 191, 36, 0.22);
  color: #b45309;
}

.hint-text {
  flex: 1;
}

.share-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 220px;
}

.share-actions .btn {
  font-size: 0.95rem;
}

.share-actions .btn.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 0.68rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 18px 30px -18px rgba(37, 99, 235, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.share-actions .btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px -20px rgba(37, 99, 235, 0.65);
}

.share-actions .btn.btn-primary.disabled,
.share-actions .btn.btn-primary[disabled] {
  background: linear-gradient(135deg, #94a3b8 0%, #94a3b8 100%);
  box-shadow: none;
  cursor: not-allowed;
}

.share-actions .btn.btn-outline {
  padding: 0.6rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: #1d4ed8;
  font-weight: 600;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.share-actions .btn.btn-outline:hover {
  border-color: rgba(37, 99, 235, 0.6);
  background: rgba(37, 99, 235, 0.08);
  color: #1e3a8a;
}

.share-actions .btn.btn-outline:active {
  background: rgba(37, 99, 235, 0.12);
}

.share-actions .char-count {
  margin-right: auto;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
}

.primary-share-btn {
  position: relative;
  padding-right: 2.35rem !important;
}

.primary-share-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1.1rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) rotate(-45deg);
  transition: transform 0.18s ease;
}

.primary-share-btn:hover::after {
  transform: translateY(-50%) rotate(-45deg) translateX(2px);
}

.file-dropzone {
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 18px;
  padding: 2.3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
  background: rgba(248, 250, 252, 0.9);
}

.file-dropzone:hover {
  border-color: rgba(37, 99, 235, 0.7);
  background: rgba(237, 242, 247, 0.75);
  box-shadow: 0 16px 35px -28px rgba(15, 23, 42, 0.5);
  transform: translateY(-2px);
}

.dropzone-content .dropzone-icon {
  font-size: 2.6rem;
  color: #1d4ed8;
}

.dropzone-content p {
  margin: 0.6rem 0 0.3rem;
  font-weight: 600;
  color: #0f172a;
  font-size: 1.05rem;
}

.dropzone-content small {
  color: #64748b;
}

@media (max-width: 900px) {
  .share-card {
    padding: 1.55rem 1.65rem 1.75rem;
  }

  .share-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-tabs {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .share-card {
    border-radius: 20px;
    padding: 1.45rem 1.5rem 1.6rem;
  }

  .share-actions {
    justify-content: flex-start;
  }

  .share-actions .char-count {
    order: 3;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .share-card {
    padding: 1.25rem 1rem 1.35rem;
    gap: 1.1rem;
  }

  .share-header-left h3 {
    font-size: 1.4rem;
  }

  .share-tagline {
    font-size: 0.9rem;
  }

  .share-tabs {
    flex-wrap: nowrap;
  }

  .share-input {
    min-height: 100px;
  }

  .share-hint {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
  }

  .file-dropzone {
    padding: 1.6rem 1.2rem;
  }
}

/* Shared items styles */
.shared-items h3 {
  margin: 0 0 1rem 0;
  color: #343a40;
}

.empty-state {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 2rem;
}

.shared-item {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.shared-content p {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  color: #495057;
}

.shared-content a {
  color: #007bff;
  text-decoration: none;
  word-break: break-all;
}

.shared-content a:hover {
  text-decoration: underline;
}

.shared-text {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 0.75rem;
  margin: 0.5rem 0;
  white-space: pre-wrap;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  max-height: 200px;
  overflow-y: auto;
}

/* About page styles */
.about-section {
  max-width: 800px;
  margin: 2rem auto;
}

.about-section h1 {
  margin-bottom: 2rem;
  color: #333;
}

.about-section h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #444;
}

.about-section p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #555;
}

.about-section a {
  color: #007bff;
  text-decoration: none;
}

.about-section a:hover {
  text-decoration: underline;
}

/* Pricing page styles */
/* Pricing layout */
.pricing-split {
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.75rem;
  align-items: stretch;
}

.pricing-intro-card,
.pricing-plan-card {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 640ms cubic-bezier(.22,.9,.3,1) both;
}

.pricing-intro-card { animation-delay: 140ms; }
.pricing-plan-card { animation-delay: 220ms; }

.pricing-intro-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.02));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.pricing-intro-card h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  color: #0f172a;
}

.pricing-intro-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.value-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.value-points li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #334155;
  font-weight: 600;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
  position: relative;
}

.check-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 12px;
  border-right: 2px solid #1d4ed8;
  border-bottom: 2px solid #1d4ed8;
  transform: translate(-50%, -55%) rotate(45deg);
}

.pricing-plan-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: 24px;
  padding: 2.2rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 45px -28px rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.plan-tag {
  background: rgba(252, 211, 77, 0.18);
  color: #b45309;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-header h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.2rem);
  color: #0f172a;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: #0f172a;
}

.price-display .currency {
  font-size: 1.4rem;
  font-weight: 600;
}

.price-display .price-amount {
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price-display .price-period {
  font-size: 1rem;
  color: #64748b;
}

.plan-highlight {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px dashed rgba(37, 99, 235, 0.18);
  color: #0f172a;
}

.plan-highlight p {
  margin: 0;
  line-height: 1.6;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-primary {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 20px 30px -24px rgba(37, 99, 235, 0.65);
}

.cta-secondary {
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-weight: 600;
}

.plan-footer {
  font-size: 0.95rem;
  color: #64748b;
}

.plan-footer a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}

.plan-footer a:hover {
  text-decoration: underline;
}

.pricing-plan-card.annual-selected {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 28px 55px -28px rgba(16, 185, 129, 0.5);
}

.pricing-plan-card.plan-selected {
  outline: 2px solid rgba(37, 99, 235, 0.6);
  outline-offset: 4px;
}

.discount-chip {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #047857;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.billing-detail {
  margin-top: 0.35rem;
  color: #0f172a;
  font-weight: 600;
}

.price-compare {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.06);
  color: #1e293b;
  font-weight: 600;
}

@media (max-width: 960px) {
  .pricing-split {
    grid-template-columns: 1fr;
  }

  .pricing-plan-card {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .pricing-intro-card,
  .pricing-plan-card {
    padding: 1.75rem;
    border-radius: 20px;
  }

  .cta-primary,
  .cta-secondary {
    border-radius: 12px;
  }
}

.text-center {
  text-align: center;
}

.pricing-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: #0f1724;
  margin: 0 0 0.5rem 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-align: center;
}

.pricing-subtitle {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.pricing-note {
  margin-top: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

/* Billing toggle styles (Monthly / Annually) */
.billing-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.billing-toggle {
  background: #0b0b0b; /* near-black rounded background */
  padding: 4px;
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
}

.toggle-option {
  background: transparent;
  color: #bfc7cd;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.18s ease;
}

.toggle-option.active {
  background: #ffffff; /* active selection highlighted in white */
  color: #0b0b0b; /* active text black */
  box-shadow: 0 6px 18px rgba(2,6,23,0.08);
}

.toggle-option .save-text {
  font-weight: 500;
  color: inherit;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .toggle-option { padding: 6px 12px; font-size: 0.95rem; }
}

.pricing-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 2rem;
  width: 350px; /* Increased width */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.08);
  border-color: #cfd8dc;
}

.pricing-card.selected {
  border-color: var(--primary-color);
  border-width: 2px;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 30px rgba(0, 123, 255, 0.12);
  background-color: #f5fbff;
}

.pricing-card.selected::before {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-color);
  color: white;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.pricing-card.selected::before {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  background: #007bff;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

/* Recommended card (Pro) */
.pricing-card.recommended {
  position: relative;
  border-color: #007bff;
  border-width: 2px;
  transform: scale(1.03);
}

.pricing-card.recommended::after {
  content: 'Recommended';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #007bff;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 0 0 8px 8px;
}

.pricing-card.recommended:hover {
  transform: scale(1.03) translateY(-5px);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h2 {
  margin-bottom: 1rem;
  color: #333;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
}

.price .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 0.2rem;
}

.price .period {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 400;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: #555;
}

.features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: #007bff;
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #0069d9;
}

.btn-outline {
  background: transparent;
  color: #007bff;
  border: 1px solid #007bff;
}

.btn-outline:hover {
  background: rgba(0, 123, 255, 0.1);
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  color: #6c757d;
}

.pricing-note a {
  color: #007bff;
  text-decoration: none;
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* Footer styles */
.footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 2rem 0;
  margin-top: auto;
  opacity: 0;
  animation: fadeInUp 800ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 200ms;
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-feedback {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.75rem;
  background:
    radial-gradient(140% 140% at 0% 0%, rgba(59, 130, 246, 0.14), rgba(15, 23, 42, 0))
    no-repeat,
    linear-gradient(135deg, rgba(241, 245, 249, 0.92), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 28px 60px -45px rgba(15, 23, 42, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-feedback::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.12), transparent 45%, rgba(45, 212, 191, 0.12));
  opacity: 0.6;
}

.footer-feedback-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #0f172a;
}

.footer-feedback-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  width: fit-content;
}

.footer-feedback h4 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.footer-feedback p {
  margin: 0;
  color: #475569;
  max-width: 520px;
  line-height: 1.65;
}

.footer-feedback-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-feedback-btn {
  border: none;
  border-radius: 999px;
  padding: 0.72rem 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 45%, #34d399 100%);
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 18px 45px -30px rgba(14, 165, 233, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-feedback-btn:hover,
.footer-feedback-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 55px -28px rgba(14, 165, 233, 0.85);
}

.footer-feedback-btn:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.6);
  outline-offset: 2px;
}

.footer-feedback-link {
  align-self: flex-start;
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-feedback-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.footer-feedback-link:hover::after {
  transform: translateX(3px);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-copyright {
  color: #6c757d;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeIn 600ms ease both;
  animation-delay: 400ms;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
  opacity: 0;
  animation: fadeInUp 700ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 500ms;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f3f5;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(.22,.9,.3,1);
  transform: translateY(10px);
  opacity: 0;
  animation: fadeInUp 600ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 600ms;
}

.social-icon:hover {
  background-color: #e9ecef;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  transition: color 0.3s ease;
}

.social-icon:hover svg {
  color: #007bff;
}

.social-icon.twitter:hover svg {
  color: #1DA1F2;
}

.social-icon.github:hover svg {
  color: #24292e;
}

.social-icon.linkedin:hover svg {
  color: #0077b5;
}

.icon-twitter, .icon-github, .icon-linkedin, .icon-website {
  font-style: normal;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0;
  animation: fadeInUp 700ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 700ms;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(.22,.9,.3,1);
  position: relative;
  overflow: hidden;
}

.footer-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,123,255,0.1), transparent);
  transition: left 0.5s ease;
}

.footer-links a:hover::before {
  left: 100%;
}

.footer-links a:hover {
  color: #007bff;
  background-color: #e9ecef;
  transform: translateY(-2px);
}

.footer-divider {
  color: #dee2e6;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .footer-shell {
    gap: 2.25rem;
  }

  .footer-feedback {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
  }

  .footer-feedback-actions {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 1.25rem;
  }

  .footer-social {
    margin: 0;
  }
}

@media (max-width: 992px) {
  .pricing-container {
    flex-wrap: wrap;
  }
  
  .pricing-card {
    width: calc(50% - 2rem);
    margin-bottom: 2rem;
  }
  
  .pricing-card.featured {
    order: -1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 350px;
  }

  .developer-profile {
    flex-direction: column;
    text-align: center;
  }

  .developer-social {
    justify-content: center;
  }

  /* Make navbar non-fixed on small screens for better stacking */
  .navbar {
    position: static;
    transform: none;
    width: auto;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .main-content {
    padding-top: 1.5rem; /* restore original spacing on small screens */
  }
}

.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e9ecef;
}

.item-meta small {
  color: #6c757d;
}

.delete-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.delete-btn:hover {
  background: #c82333;
}

/* Legacy styles for upload components if still used */
.upload-section {
  border: 2px dashed #ccc;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  background: #fafafa;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: #3b82f6;
  width: 0%;
  transition: width 0.2s ease;
}

/* About page styles */
.about-section {
  margin-bottom: 3rem;
}

.developer-profile {
  display: flex;
  gap: 2rem;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.developer-avatar img {
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.developer-info {
  flex: 1;
}

.developer-info h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #333;
}

.developer-title {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.developer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.developer-social-link {
  text-decoration: none;
  color: #495057;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: #e9ecef;
  transition: all 0.2s;
  font-weight: 500;
}

.developer-social-link:hover {
  background-color: #dee2e6;
  color: #007bff;
}

@media (max-width: 768px) {
  .developer-profile {
    flex-direction: column;
    text-align: center;
  }
  
  .developer-social {
    justify-content: center;
  }
}

/* Modern About Page Styles */
:root {
  --primary-color: #007bff;
  --text-color: #111418;
  --secondary-text-color: #60758a;
  --background-color: #ffffff;
  --border-color: #f0f2f5;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 6rem 0;
  color: var(--text-color);
  text-align: center;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  color: var(--secondary-text-color);
}

/* Mission & Values Section */
.mission-section {
  padding: 4rem 0 6rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-content {
  max-width: 100%;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.2;
}

.mission-text {
  color: var(--secondary-text-color);
  line-height: 1.7;
}

.mission-text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.values-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  position: relative;
}

.value-card {
  background: white;
  padding: 2rem; /* 32px */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  max-width: 300px;
  position: relative;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.value-card.step-1 {
  animation-delay: 0.1s;
}

.value-card.step-2 {
  animation-delay: 0.3s;
}

.value-card.step-3 {
  animation-delay: 0.5s;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #007bff, #0056d6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  position: relative;
}

.connector::before {
  content: '';
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #0056d6);
  border-radius: 1px;
}

.connector::after {
  content: '→';
  position: absolute;
  color: #007bff;
  font-size: 20px;
  font-weight: bold;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-5px);
  }
}

.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1976d2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.2);
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111418;
}

.value-card p {
  font-size: 0.875rem;
  color: #60758a;
  margin: 0;
  line-height: 1.5;
}

/* Team Section */
.team-section {
  padding: 4rem 0 6rem 0;
}

.team-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--secondary-text-color);
  margin-top: 1rem;
  line-height: 1.6;
}

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

.team-grid.single-member {
  max-width: 500px;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.team-member:hover {
  transform: translateY(-4px);
}

.member-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem auto;
  position: relative;
}

.single-member .member-avatar {
  width: 180px;
  height: 180px;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.team-member:hover .avatar-image {
  transform: scale(1.05);
}

.member-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.member-role {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
}

.member-bio {
  color: var(--secondary-text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* About page - remove card behind avatar (keep the picture) */
.team-section .team-member {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important; /* keep spacing tight */
}

.team-section .member-avatar {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  width: auto; /* let avatar-image control size */
  height: auto;
}

.team-section .avatar-image {
  border-radius: 50%;
  box-shadow: none !important; /* remove any white card shadow */
  border: 0 !important;
  width: 160px; /* reasonable default */
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem auto;
}

@media (max-width: 480px) {
  .team-section .avatar-image {
    width: 120px;
    height: 120px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0 4rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .mission-section,
  .team-section {
    padding: 3rem 0 4rem 0;
  }
  
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .values-grid {
    flex-direction: column;
    gap: 1rem;
  }
  
  .connector {
    width: 100%;
    height: 40px;
    flex-direction: row;
  }
  
  .connector::before {
    width: 2px;
    height: 100%;
  }
  
  .connector::after {
    content: '↓';
    transform: translateY(10px);
  }
  
  .value-card {
    max-width: none;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Hamburger menu styles */
.hamburger-menu {
  display: none;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  background-image: url('/hamburger.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease;
}

.navbar.menu-open .hamburger-menu {
  background-image: url('/close.png');
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    background:
      radial-gradient(110% 110% at 50% 0%, rgba(20, 184, 166, 0.18), rgba(8, 47, 73, 0))
      no-repeat,
      linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 47, 73, 0.92) 100%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 5.5rem 1.75rem 2.5rem;
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    z-index: 1000;
    box-shadow: -12px 0 48px -28px rgba(8, 47, 73, 0.85);
    border-left: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px 0 0 16px;
  overflow-y: auto;
  }

  .navbar-links.mobile-menu-open {
    transform: translateX(0);
  }

  .navbar-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 0.95rem 1.1rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #e2e8f0;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.35);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  }

  .navbar-links a::after {
    content: '>';
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.7);
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .navbar-links a:hover,
  .navbar-links a:focus-visible {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 14px 32px -24px rgba(59, 130, 246, 0.75);
    transform: translateX(4px);
    color: #f8fafc;
  }

  .navbar-links a:hover::after,
  .navbar-links a:focus-visible::after {
    transform: translateX(4px);
    color: #f8fafc;
  }

  .navbar-links a:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.55);
    outline-offset: 2px;
  }

  .navbar-links a.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.24) 0%, rgba(16, 185, 129, 0.18) 100%);
    border-color: rgba(59, 130, 246, 0.6);
    color: #f8fafc;
    box-shadow: 0 20px 38px -30px rgba(16, 185, 129, 0.6);
  }

  .navbar-links a.active::after {
    transform: translateX(4px);
    color: #f8fafc;
  }

  .navbar-links::-webkit-scrollbar {
    width: 6px;
  }

  .navbar-links::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
  }

  .navbar-links::-webkit-scrollbar-track {
    background: transparent;
  }

  .navbar-actions {
    display: none;
  }

  .navbar-mobile-cta {
    display: flex;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
  }

  .navbar-mobile-cta .navbar-get-started {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
    box-shadow: 0 22px 55px -30px rgba(59, 130, 246, 0.75);
  }

  .navbar-mobile-cta .navbar-get-started-icon {
    background: rgba(15, 23, 42, 0.12);
  }

  /* Adjust navbar layout for mobile */
  .navbar {
    justify-content: space-between;
    padding: 0.5rem 1rem;
  }

  .navbar-brand img {
    height: 35px;
    width: 35px;
  }
}

/* File list styles */
.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

/* page-level tabs removed */

.file-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.file-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* File Card Animations */
.file-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.file-card:nth-child(1) { animation-delay: 0.1s; }
.file-card:nth-child(2) { animation-delay: 0.2s; }
.file-card:nth-child(3) { animation-delay: 0.3s; }
.file-card:nth-child(4) { animation-delay: 0.4s; }
.file-card:nth-child(5) { animation-delay: 0.5s; }
.file-card:nth-child(6) { animation-delay: 0.6s; }

.file-preview {
  position: relative;
  height: 180px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-thumbnail {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-icon-container {
  font-size: 4rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  text-decoration: none;
  color: white;
  border-radius: 4px;
}

.file-preview:hover .download-overlay {
  opacity: 1;
}

.download-icon {
  font-size: 2rem;
  background: rgba(0, 123, 255, 0.9);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-info {
  padding: 1rem;
}

.file-name {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.file-size {
  font-weight: 500;
}

.file-type {
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}

.file-expiry {
  color: #198754;
  font-weight: 600;
}

.file-actions {
  padding: 0 1rem 1rem 1rem;
  text-align: center;
}

.delete-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.delete-btn:hover {
  background: #c82333;
}

.file-card.text-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.text-card .text-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.text-card .text-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  background: #e2e8f0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
}

.text-card .shared-link {
  color: #0ea5e9;
  font-weight: 600;
  word-break: break-word;
  text-decoration: none;
}

.text-card .shared-link:hover {
  text-decoration: underline;
}

.text-card .shared-text-block {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  color: #0f172a;
}

.text-card .text-meta {
  gap: 1rem;
}

.text-card .file-actions {
  padding: 0;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.text-card .copy-btn {
  background: linear-gradient(135deg, #2794d8 0%, #00b4d8 100%);
  color: white;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(39, 148, 216, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.text-card .copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(39, 148, 216, 0.35);
}

.empty-files-container {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  border: 2px dashed #cbd5e1;
  margin: 2rem 0;
  animation: fadeInUp 0.6s ease-out;
}

.empty-files-icon {
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.empty-files-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.5rem;
}

.empty-files-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

.file-type-icon {
  font-size: 2rem;
}

/* Shared Files Section Styles */
.shared-files-section {
  margin-top: 3rem;
}

/* Home flow section */
.home-flow-section {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.01));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-flow-section .flow-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-flow-section .flow-header h2 {
  margin: 0;
  font-size: 2rem;
  color: #0f172a;
}

.home-flow-section .flow-header p {
  margin: 0;
  color: #475569;
  max-width: 520px;
  line-height: 1.6;
}

.home-flow-section .flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.home-flow-section .flow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(248, 250, 252, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
}

.home-flow-section .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.15);
  color: #1d4ed8;
  font-weight: 700;
}

.home-flow-section .step-body h4 {
  margin: 0 0 0.35rem 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.home-flow-section .step-body p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .home-flow-section {
    padding: 2rem;
  }

  .home-flow-section .flow-step {
    flex-direction: column;
  }

  .home-flow-section .step-index {
    margin-bottom: 0.4rem;
  }
}

@media (max-width: 520px) {
  .home-flow-section {
    padding: 1.6rem;
    border-radius: 20px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.files-count {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* Enhanced Download Overlay */
.download-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.file-preview:hover .download-overlay {
  opacity: 1;
}

.download-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.download-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.p2p-overlay {
  background: rgba(139, 92, 246, 0.8);
}

/* Transfer Type Indicators */
.transfer-indicator {
  margin-top: 0.75rem;
}

.transfer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.transfer-badge.direct {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.transfer-badge.p2p {
  background: rgba(139, 92, 246, 0.1);
  color: #5b21b6;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Enhanced Delete Button */
.delete-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.delete-btn:hover {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.delete-btn:active {
  transform: translateY(0);
}
/* Modal / Contact styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.contact-modal.card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(16,24,40,0.16);
  padding: 22px;
  position: relative;
  border: 1px solid rgba(16,24,40,0.04);
}

.contact-modal h2 {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
  color: #0f1724;
}

.contact-modal p {
  color: #6b7280;
  margin: 0 0 12px 0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #475569;
  cursor: pointer;
}

.input-field {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e6eef6;
  background: #fff;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.contact-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn.primary, .btn.primary:hover {
  background: linear-gradient(90deg, #007bff, #0056d6);
  color: white;
}

.btn.secondary {
  background: transparent;
  color: #475569;
  border: 1px solid #e6eef6;
}

/* About page animations */

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-subtitle,
  .mission-section .mission-grid > *,
  .features-grid .feature-card,
  .steps-grid .step-card,
  .team-member {
    animation: none !important;
    transition: none !important;
  }
}

/* Keyframes */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(12px); }
  60% { opacity: 1; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

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

/* About page layout */
.about-page .about-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.about-page section {
  padding: 72px 0;
}

.about-hero .hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.about-hero .hero-overline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #2563eb;
  text-transform: uppercase;
}

.about-hero .hero-title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.1rem);
  line-height: 1.05;
  color: #0f172a;
}

.about-hero .hero-subtitle {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #475569;
  max-width: 640px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
  border-radius: 999px;
}

.about-highlights .highlights-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: rgba(248, 250, 252, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f172a;
}

.highlight-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.about-story .story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.story-copy h2 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
  color: #0f172a;
}

.story-copy p {
  margin: 0 0 1rem 0;
  color: #475569;
  line-height: 1.7;
}

.story-points h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: #1f2937;
}

.point-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.point-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: #475569;
  line-height: 1.6;
}

.point-bullet {
  width: 8px;
  height: 8px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
}

.about-safeguards .safeguard-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.safeguard-card h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #0f172a;
}

.safeguard-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.safeguard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #1f2937;
}

.safeguard-list li {
  position: relative;
  padding-left: 1.25rem;
}

.safeguard-list li::before {
  content: '';
  position: absolute;
  top: 0.55rem;
  left: 0.3rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.about-page .section-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.3);
  margin: 0 auto;
  width: min(100%, 640px);
}

.about-page .team-section {
  text-align: center;
}

.about-page .team-section .team-member {
  text-align: center;
}

/* About page animations */
.about-page .hero-inner {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 620ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 120ms;
}

.about-highlights .highlight-card {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 520ms cubic-bezier(.22,.9,.3,1) both;
}

.about-highlights .highlight-card:nth-child(1) { animation-delay: 220ms; }
.about-highlights .highlight-card:nth-child(2) { animation-delay: 320ms; }
.about-highlights .highlight-card:nth-child(3) { animation-delay: 420ms; }

.about-story .story-copy,
.about-story .story-points {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp 560ms cubic-bezier(.22,.9,.3,1) both;
}

.about-story .story-copy { animation-delay: 280ms; }
.about-story .story-points { animation-delay: 360ms; }

.about-safeguards .safeguard-card {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 600ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 420ms;
}

.about-page .team-member {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 620ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 520ms;
}

@media (max-width: 768px) {
  .about-page .about-container {
    padding: 0 1.25rem;
  }

  .about-page section {
    padding: 56px 0;
  }

  .about-hero .hero-inner {
    text-align: center;
    align-items: center;
    gap: 1.25rem;
  }

  .about-hero .hero-subtitle {
    max-width: none;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .meta-chip {
    width: 100%;
    justify-content: center;
  }

  .about-highlights .highlights-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-story .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .point-list {
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .hero-inner,
  .about-highlights .highlight-card,
  .about-story .story-copy,
  .about-story .story-points,
  .about-safeguards .safeguard-card,
  .about-page .team-member,
  .pricing-intro-card,
  .pricing-plan-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .about-page .about-container {
    padding: 0 1rem;
  }

  .about-hero .hero-title {
    font-size: 2.1rem;
  }

  .highlight-card {
    padding: 1.4rem 1.2rem;
  }

  .meta-chip {
    width: auto;
  }

  .safeguard-card {
    padding: 1.6rem;
  }
}

/* PWA Install Component Styles */
.pwa-install-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.pwa-install-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.1);
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pwa-install-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.pwa-install-content {
  flex: 1;
}

.pwa-install-content h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

.pwa-install-content p {
  margin: 0;
  font-size: 14px;
  color: #666666;
  line-height: 1.4;
}

.pwa-install-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.pwa-install-btn {
  background: #2196F3;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-install-btn:hover {
  background: #1976D2;
  transform: scale(1.02);
}

.pwa-install-dismiss {
  background: transparent;
  color: #666666;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-install-dismiss:hover {
  background: #f5f5f5;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .pwa-install-card {
    flex-direction: column;
    text-align: center;
  }
  
  .pwa-install-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
}


/* Team section hover refinement */
.team-member {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(2,6,23,0.12);
}

.member-avatar {
  will-change: transform;
  transition: transform 420ms cubic-bezier(.22,.9,.3,1);
}

.team-member:hover .member-avatar {
  transform: translateY(-6px) rotate(-0.6deg);
}

/* PWA Install Prompt Styles */
.pwa-install-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  display: none; /* Hidden by default, shown by PWA script when installable */
  max-width: 400px;
  margin: 0 auto;
}

.pwa-install-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.15);
  border: 1px solid rgba(16,24,40,0.06);
  display: flex;
  align-items: center;
  gap: 16px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.pwa-install-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.pwa-install-content {
  flex: 1;
}

.pwa-install-content h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

.pwa-install-content p {
  margin: 0;
  font-size: 14px;
  color: #666666;
  line-height: 1.4;
}

.pwa-install-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.pwa-install-btn {
  background: #2196F3;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-install-btn:hover {
  background: #1976D2;
  transform: scale(1.02);
}

.pwa-install-dismiss {
  background: transparent;
  color: #666666;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwa-install-dismiss:hover {
  background: #f5f5f5;
}

/* PWA Update Banner */
.pwa-update-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #4CAF50;
  color: white;
  text-align: center;
  padding: 10px;
  z-index: 10000;
  font-size: 14px;
}

.pwa-update-banner button {
  background: white;
  color: #4CAF50;
  border: none;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 3px;
  cursor: pointer;
}

.pwa-update-banner .dismiss-btn {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 5px 10px;
  margin-left: 5px;
  border-radius: 3px;
  cursor: pointer;
}

/* PWA Install Button (floating) */
#pwa-install-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2196F3;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  z-index: 1000;
  display: none;
  transition: all 0.3s ease;
}

#pwa-install-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

/* Mobile responsive adjustments for PWA */
@media (max-width: 480px) {
  .pwa-install-card {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  
  .pwa-install-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  
  .pwa-install-container {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  #pwa-install-btn {
    bottom: 10px;
    right: 10px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Make sure animations don't affect layout on small screens */
@media (max-width: 480px) {
  .hero-title, .hero-subtitle, .team-member, .feature-card, .step-card {
    animation-duration: 420ms;
    animation-timing-function: ease-out;
  }
  .highlight-icon, .feature-icon, .step-number { animation: none; }
}

/* Pricing Page Animations */

/* Respect user's reduced motion preference for pricing */
@media (prefers-reduced-motion: reduce) {
  .pricing-title,
  .pricing-subtitle,
  .pricing-card,
  .billing-toggle {
    animation: none !important;
    transition: none !important;
  }
}

/* Pricing title and subtitle entrance */
.pricing-title {
  opacity: 0;
  animation: fadeInUp 700ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 100ms;
}

.pricing-subtitle {
  opacity: 0;
  animation: fadeIn 800ms ease both;
  animation-delay: 200ms;
}

/* Billing toggle smooth slide */
.billing-toggle {
  opacity: 0;
  animation: fadeInUp 600ms cubic-bezier(.22,.9,.3,1) both;
  animation-delay: 300ms;
}

.toggle-option {
  transition: all 0.3s cubic-bezier(.22,.9,.3,1);
}

/* Pricing cards staggered entrance */
.pricing-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 650ms cubic-bezier(.22,.9,.3,1) both;
  transition: transform 0.3s cubic-bezier(.22,.9,.3,1), box-shadow 0.3s ease;
}

.pricing-card:nth-child(1) { animation-delay: 400ms; }
.pricing-card:nth-child(2) { animation-delay: 500ms; }
.pricing-card:nth-child(3) { animation-delay: 600ms; }

/* Enhanced hover effect for pricing cards */
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.selected {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 123, 255, 0.15);
}

/* Pricing note fade-in */
.pricing-note {
  opacity: 0;
  animation: fadeIn 700ms ease both;
  animation-delay: 700ms;
}

/* Responsive adjustments for pricing animations */
@media (max-width: 768px) {
  .pricing-card {
    animation-duration: 500ms;
  }
  .pricing-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .pricing-title, .pricing-subtitle, .pricing-card, .billing-toggle {
    animation-duration: 400ms;
    animation-timing-function: ease-out;
  }
  .pricing-card:hover {
    transform: none;
  }
}

/* WebRTC Peer Status Styles */
.peer-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  background-color: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: auto;
}

.peer-status.connecting {
  background-color: rgba(255, 251, 235, 0.8);
  border-color: rgba(251, 191, 36, 0.3);
  color: #92400e;
}

.peer-status.offline {
  background-color: rgba(254, 242, 242, 0.8);
  border-color: rgba(248, 113, 113, 0.3);
  color: #991b1b;
}

.peer-status.online {
  background-color: rgba(240, 253, 244, 0.8);
  border-color: rgba(74, 222, 128, 0.3);
  color: #166534;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.peer-status.connecting .status-dot {
  background-color: #f59e0b;
}

.peer-status.offline .status-dot {
  background-color: #dc2626;
  animation: none;
}

.peer-status.online .status-dot {
  background-color: #10b981;
}

.share-mode-badge {
  margin-left: 0.3rem;
  padding: 0.1rem 0.4rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Share header layout update */
.share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.share-header h3 {
  margin: 0;
  flex: 1;
}

/* Responsive adjustments for peer status */
@media (max-width: 768px) {
  .peer-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  .share-mode-badge {
    font-size: 0.6rem;
    padding: 0.05rem 0.3rem;
  }
  
  .status-dot {
    width: 5px;
    height: 5px;
  }
}

@media (max-width: 480px) {
  .share-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .peer-status {
    align-self: flex-end;
  }
}

/* Download Page Styles */
.download-wrapper {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin: 1.75rem auto 2rem;
  max-width: 1100px;
}

.download-intro {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 560px;
  animation: downloadFadeUp 0.6s ease forwards;
}

.download-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(34, 197, 243, 0.15);
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}

.download-intro h1 {
  margin: 0;
  font-size: clamp(2.5rem, 3vw + 1.8rem, 3.5rem);
  line-height: 1.1;
  color: #0f172a;
}

.download-title-accent {
  color: #0284c7;
}

.download-lede {
  margin: 0;
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.7;
}

.download-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.download-stat {
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.download-stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0284c7;
}

.download-stat-label {
  font-size: 0.95rem;
  color: #64748b;
}

.download-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.download-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.05rem;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  box-shadow: 0 18px 45px -35px rgba(14, 165, 233, 0.6);
}

.download-highlight svg {
  color: #0284c7;
  flex-shrink: 0;
}

.download-highlight-title {
  display: block;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.95rem;
}

.download-highlight-copy {
  display: block;
  font-size: 0.85rem;
  color: #475569;
}

.download-card {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, rgba(6, 182, 212, 0.28), rgba(15, 118, 110, 0))
      no-repeat,
    linear-gradient(145deg, #0f172a 0%, #082f49 100%);
  border-radius: 20px;
  padding: 0.25rem;
  overflow: hidden;
  box-shadow: 0 25px 60px -35px rgba(8, 47, 73, 0.9);
  /* Animation removed per request: keep static appearance */
  animation: none;
}

.download-card-inner {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 18px;
  padding: 2.5rem 2.25rem 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border: 1px solid rgba(94, 234, 212, 0.15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.download-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.download-app-emblem {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.28), rgba(14, 165, 233, 0.1));
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.4);
  box-shadow: 0 15px 30px -20px rgba(56, 189, 248, 0.8);
}

.download-app-emblem img {
  border-radius: 16px;
}

.download-card-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #bae6fd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-card h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #e0f2fe;
}

.download-card-copy {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 1rem;
  line-height: 1.7;
}

.download-card-qr {
  display: grid;
  place-items: center;
  gap: 0.85rem;
  padding: 1.4rem;
  background: rgba(15, 118, 110, 0.18);
  border-radius: 16px;
  border: 1px dashed rgba(16, 185, 129, 0.35);
}

.download-card-qr img {
  border-radius: 12px;
  border: 4px solid rgba(8, 47, 73, 0.5);
  box-shadow: 0 18px 40px -28px rgba(16, 185, 129, 0.8);
}

.qr-hint {
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.85rem;
  text-align: center;
}

.download-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
  color: #0f172a;
}

.download-btn svg {
  color: inherit;
}

.download-btn.download-android {
  background: linear-gradient(140deg, #22d3ee 0%, #0ea5e9 100%);
  color: #0f172a;
  box-shadow: 0 18px 40px -30px rgba(14, 165, 233, 0.9);
}

.download-btn.download-android:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 45px -30px rgba(14, 165, 233, 1);
}

.download-btn.download-android:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}

.download-coming {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(191, 219, 254, 0.35);
  background: rgba(148, 163, 184, 0.14);
  color: rgba(226, 232, 240, 0.85);
  font-size: 1rem;
  font-weight: 500;
}

.download-coming svg {
  color: rgba(226, 232, 240, 0.7);
}

.download-card-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.9rem;
}

.download-card-meta svg {
  flex-shrink: 0;
}

.download-secondary {
  display: grid;
  gap: 2rem;
  margin: 2.5rem auto 4rem;
  max-width: 1100px;
}

.download-panel {
  background: white;
  border-radius: 20px;
  padding: 2.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 55px -45px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: downloadFadeUp 0.6s ease forwards;
}

.download-panel h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #0f172a;
}

.download-panel p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.download-panel-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-panel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.95rem;
}

.download-panel-item svg {
  color: #06b6d4;
  flex-shrink: 0;
}

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

.download-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-steps-list li {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: #334155;
  line-height: 1.6;
}

.download-step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.16);
  color: #0284c7;
  display: grid;
  place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}

.download-steps-hint {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #475569;
  background: rgba(14, 165, 233, 0.08);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(14, 165, 233, 0.18);
}

.download-steps-hint svg {
  color: #0284c7;
  flex-shrink: 0;
}

.download-guide-trigger {
  margin-left: auto;
  border: none;
  background: rgba(59, 130, 246, 0.18);
  color: #0f172a;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 28px -24px rgba(59, 130, 246, 0.8);
}

.download-guide-trigger:hover,
.download-guide-trigger:focus-visible {
  background: rgba(59, 130, 246, 0.28);
  transform: translateX(2px);
  box-shadow: 0 18px 36px -24px rgba(59, 130, 246, 0.9);
}

.download-guide-trigger:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  outline-offset: 2px;
}

.download-guide-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  z-index: 1400;
  animation: downloadGuideFade 0.35s ease forwards;
}

.download-guide-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.download-guide-modal {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(6, 182, 212, 0.12), rgba(15, 23, 42, 0))
    no-repeat,
    linear-gradient(160deg, rgba(8, 47, 73, 0.96) 0%, rgba(15, 23, 42, 0.92) 100%);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: #e2e8f0;
  box-shadow: 0 38px 80px -45px rgba(8, 47, 73, 0.9);
  border: 1px solid rgba(125, 211, 252, 0.18);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: downloadGuideRise 0.35s ease forwards;
}

.download-guide-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.download-guide-title {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-guide-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.4);
  width: fit-content;
}

.download-guide-title h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2vw + 1.2rem, 2.25rem);
  color: #f8fafc;
}

.download-guide-title p {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 540px;
}

.download-guide-close {
  border: none;
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.8);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.download-guide-close:hover,
.download-guide-close:focus-visible {
  background: rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}

.download-guide-close:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.6);
  outline-offset: 2px;
}

.download-guide-steps {
  display: grid;
  gap: 1.5rem;
}

.download-guide-step {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.05);
}

.download-guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: rgba(56, 189, 248, 0.18);
  color: #bae6fd;
  font-weight: 700;
  font-size: 1rem;
}

.download-guide-illustration {
  position: relative;
  width: clamp(120px, 20vw, 160px);
  height: clamp(110px, 18vw, 150px);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-guide-artifact {
  width: 85%;
  height: 70%;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.28), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(125, 211, 252, 0.35);
  box-shadow: 0 18px 45px -35px rgba(56, 189, 248, 0.9);
}

.download-guide-artifact-glow {
  position: absolute;
  inset: 12% 10% auto 10%;
  height: 18%;
  border-radius: 12px;
  background: rgba(250, 250, 250, 0.18);
  filter: blur(6px);
}

.download-guide-illustration.install {
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.3), transparent 60%), rgba(15, 23, 42, 0.75);
}

.download-guide-illustration.signin {
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.35), transparent 62%), rgba(8, 47, 73, 0.8);
}

.download-guide-illustration.pairing {
  background: radial-gradient(circle at 50% 50%, rgba(244, 114, 182, 0.35), transparent 65%), rgba(8, 51, 68, 0.78);
}

.download-guide-copy h4 {
  margin: 0;
  font-size: 1.15rem;
  color: #f8fafc;
}

.download-guide-copy p {
  margin: 0.45rem 0 0;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.7;
}

.download-guide-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

.download-guide-primary,
.download-guide-secondary {
  border-radius: 12px;
  padding: 0.7rem 1.45rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.download-guide-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 50%, #34d399 100%);
  color: #0f172a;
  box-shadow: 0 18px 45px -32px rgba(56, 189, 248, 0.85);
}

.download-guide-primary:hover,
.download-guide-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px -30px rgba(56, 189, 248, 0.95);
}

.download-guide-primary:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.6);
  outline-offset: 2px;
}

.download-guide-secondary {
  background: rgba(15, 23, 42, 0.6);
  color: rgba(226, 232, 240, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.download-guide-secondary:hover,
.download-guide-secondary:focus-visible {
  background: rgba(30, 41, 59, 0.85);
  transform: translateY(-2px);
}

.download-guide-secondary:focus-visible {
  outline: 2px solid rgba(148, 163, 184, 0.55);
  outline-offset: 2px;
}

@keyframes downloadGuideFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes downloadGuideRise {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes downloadFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes downloadRise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 960px) {
  .download-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }

  .download-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .download-wrapper {
    margin-top: 1.5rem;
  }

  .download-card-inner {
    padding: 2rem 1.5rem 2.25rem;
  }

  .download-card-qr {
    padding: 1.1rem;
  }

  .download-card-qr img {
    width: 180px;
    height: 180px;
  }

  .download-platforms {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-wrapper *,
  .download-card,
  .download-panel,
  .navbar-links,
  .download-guide-overlay,
  .download-guide-modal {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .footer-feedback,
  .footer-feedback * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
