
:root {
  --bg: #090d1b;
  --surface: #11182b;
  --text: #f7f8ff;
  --muted: #a6b0ca;
  --primary: #7557f7;
  --border: rgba(255, 255, 255, 0.10);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 15% 10%,
      rgba(117, 87, 247, 0.17), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #c4b5fd;
  outline-offset: 3px;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 6%;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 13, 27, 0.94);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.7px;
  white-space: nowrap;
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 11px;
  background: linear-gradient(135deg, #a78bfa, #6241e8);
}

.logo-dot {
  color: #a78bfa;
}

/* NAVIGATION LINKS */

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.nav-link {
  display: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover {
  color: white;
}

/* BUTTONS */

.btn {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #8565ff, #6544e8);
  box-shadow: 0 5px 18px rgba(117, 87, 247, 0.19);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(117, 87, 247, 0.30);
}

.btn-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border);
}

.btn-outline:hover {
  background: #1b2540;
}

.btn-large {
  min-height: 50px;
  padding: 13px 18px;
  font-size: 14px;
}

/* HERO */

.hero {
  max-width: 1200px;
  margin: auto;
  padding: 52px 5% 55px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 36px;
}

.hero-content {
  min-width: 0;
}

.badge {
  display: inline-block;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.10);
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 9vw, 62px);
  line-height: 1.15;
  letter-spacing: -1.7px;
  overflow-wrap: anywhere;
}

.hero h1 span {
  color: #a78bfa;
}

.hero-description {
  margin: 19px 0 26px;
  max-width: 550px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
}

.hero-actions .btn {
  width: 100%;
}

.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 12px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #34d399;
}

/* DOCUMENT PREVIEW */

.preview-card {
  width: 100%;
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: linear-gradient(145deg, #19223b, #0f1527);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.20);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 21px;
}

.small-label {
  color: #a78bfa;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.2px;
}

.preview-header h2 {
  margin-top: 5px;
  font-size: 21px;
}

.folder-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.15);
  font-size: 23px;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px 9px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.file-icon {
  width: 40px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.file-icon.blue {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
}

.file-icon.purple {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.16);
}

.file-icon.green {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
}

.document-info {
  flex: 1;
  min-width: 0;
}

.document-info strong,
.document-info small {
  display: block;
  overflow-wrap: anywhere;
}

.document-info strong {
  font-size: 12px;
}

.document-info small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.file-arrow {
  flex-shrink: 0;
  color: #a78bfa;
}

.storage-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 19px;
  padding: 13px;
  border: 1px solid rgba(139, 92, 246, 0.20);
  border-radius: 13px;
  background: rgba(139, 92, 246, 0.08);
}

.storage-note > span {
  flex-shrink: 0;
  color: #c4b5fd;
  font-size: 22px;
}

.storage-note strong,
.storage-note small {
  display: block;
  overflow-wrap: anywhere;
}

.storage-note strong {
  font-size: 12px;
}

.storage-note small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

/* SECTION HEADINGS */

.features-section,
.how-section {
  max-width: 1200px;
  margin: auto;
  padding: 42px 5% 55px;
}

.section-heading {
  margin-bottom: 27px;
  text-align: center;
}

.section-heading h2,
.cta-section h2 {
  margin-top: 8px;
  font-size: clamp(25px, 6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.8px;
}

.section-heading > p:last-child {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

/* FEATURE CARDS */

.features {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.feature {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.2s, border-color 0.2s;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 23px;
}

.feature-icon.blue {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
}

.feature-icon.purple {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.16);
}

.feature-icon.green {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
}

.feature-icon.orange {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.15);
}

.feature h3,
.step h3 {
  margin-top: 15px;
  font-size: 16px;
}

.feature p,
.step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

/* HOW IT WORKS */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
}

.step {
  padding: 21px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.step > span {
  color: #a78bfa;
  font-size: 13px;
  font-weight: 800;
}

/* CALL TO ACTION */

.cta-section {
  margin: 10px 5% 55px;
  padding: 34px 20px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 21px;
  background: linear-gradient(
    135deg,
    rgba(117, 87, 247, 0.15),
    rgba(17, 24, 43, 0.90)
  );
  text-align: center;
}

.cta-section p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

/* FOOTER */

.footer {
  padding: 27px 5%;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  justify-content: center;
}

.footer > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.footer .copyright {
  margin-top: 18px;
}

/* TABLETS */

@media (min-width: 600px) {
  .navbar {
    padding-right: 6%;
    padding-left: 6%;
  }

  .nav-link {
    display: inline-block;
  }

  .hero {
    padding: 70px 6%;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
  }

  .preview-card {
    max-width: 600px;
    padding: 25px;
  }

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

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

/* DESKTOP */

@media (min-width: 960px) {
  .navbar {
    min-height: 78px;
    padding: 15px 7%;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 55px;
    padding: 85px 7%;
  }

  .hero h1 {
    font-size: clamp(48px, 5vw, 65px);
  }

  .hero-description {
    font-size: 16px;
  }

  .preview-card {
    max-width: none;
  }

  .features-section,
  .how-section {
    padding-right: 7%;
    padding-left: 7%;
  }

  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-section {
    margin-right: 7%;
    margin-left: 7%;
    padding: 48px 25px;
  }
}

/* SMALL PHONES */

@media (max-width: 380px) {
  .navbar {
    padding-right: 3%;
    padding-left: 3%;
    gap: 5px;
  }

  .logo {
    gap: 6px;
    font-size: 18px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .nav-actions {
    gap: 5px;
  }

  .nav-actions .btn {
    padding: 8px 9px;
    font-size: 11px;
  }

  .hero {
    padding-right: 4%;
    padding-left: 4%;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.2px;
  }

  .preview-card {
    padding: 13px;
  }
}

/* ACCESSIBILITY */

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